Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Jan 31, 2023
1 parent b01389e commit 494f243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grunt/file.js
Expand Up @@ -179,7 +179,7 @@ file.expandMapping = function(patterns, destBase, options) {
file.mkdir = function(dirpath, mode) {
if (grunt.option('no-write')) { return; }
try {
fs.mkdirSync(dirpath, { recursive: true, mode })
fs.mkdirSync(dirpath, { recursive: true, mode: mode });
} catch (e) {
throw grunt.util.error('Unable to create directory "' + dirpath + '" (Error code: ' + e.code + ').', e);
}
Expand Down

0 comments on commit 494f243

Please sign in to comment.