diff --git a/lib/grunt/file.js b/lib/grunt/file.js index 3d632afe..b039594e 100644 --- a/lib/grunt/file.js +++ b/lib/grunt/file.js @@ -15,7 +15,6 @@ file.minimatch = require('minimatch'); file.findup = require('findup-sync'); var YAML = require('js-yaml'); var iconv = require('iconv-lite'); -var mkdirp = require('mkdirp').sync; // Windows? var win32 = process.platform === 'win32'; @@ -180,7 +179,6 @@ file.expandMapping = function(patterns, destBase, options) { file.mkdir = function(dirpath, mode) { if (grunt.option('no-write')) { return; } try { - mkdirp(dirpath, { mode: mode }); fs.mkdirSync(dirpath, { recursive: true, mode }) } catch (e) { throw grunt.util.error('Unable to create directory "' + dirpath + '" (Error code: ' + e.code + ').', e);