Skip to content

Commit b01389e

Browse files
authored
remove mkdirp
1 parent 0072510 commit b01389e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/grunt/file.js

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ file.minimatch = require('minimatch');
1515
file.findup = require('findup-sync');
1616
var YAML = require('js-yaml');
1717
var iconv = require('iconv-lite');
18-
var mkdirp = require('mkdirp').sync;
1918

2019
// Windows?
2120
var win32 = process.platform === 'win32';
@@ -180,7 +179,6 @@ file.expandMapping = function(patterns, destBase, options) {
180179
file.mkdir = function(dirpath, mode) {
181180
if (grunt.option('no-write')) { return; }
182181
try {
183-
mkdirp(dirpath, { mode: mode });
184182
fs.mkdirSync(dirpath, { recursive: true, mode })
185183
} catch (e) {
186184
throw grunt.util.error('Unable to create directory "' + dirpath + '" (Error code: ' + e.code + ').', e);

0 commit comments

Comments
 (0)