Skip to content

Commit 494f243

Browse files
committed
Fix syntax
1 parent b01389e commit 494f243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grunt/file.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ file.expandMapping = function(patterns, destBase, options) {
179179
file.mkdir = function(dirpath, mode) {
180180
if (grunt.option('no-write')) { return; }
181181
try {
182-
fs.mkdirSync(dirpath, { recursive: true, mode })
182+
fs.mkdirSync(dirpath, { recursive: true, mode: mode });
183183
} catch (e) {
184184
throw grunt.util.error('Unable to create directory "' + dirpath + '" (Error code: ' + e.code + ').', e);
185185
}

0 commit comments

Comments
 (0)