
module.exports = function(grunt) {
  return grunt.registerMultiTask('mkdir', 'Make directories.', function() {
    var options;
    options = this.options({
      mode: null,
      create: []
    });
    grunt.verbose.writeflags(options, 'Options');
    return options.create.forEach(function(filepath) {
      grunt.log.write('Creating "' + filepath + '"...');
      try {
        filepath = grunt.template.process(filepath);
        grunt.file.mkdir(filepath, options.mode);
        return grunt.log.ok();
      } catch (e) {
        grunt.log.error();
        grunt.verbose.error(e);
        return grunt.fail.warn('Mkdir operation failed.');
      }
    });
  });
};


module.exports = function(grunt) {
  return grunt.registerMultiTask('mkdir', 'Make directories.', function() {
    var options;
    options = this.options({
      mode: null,
      create: []
    });
    grunt.verbose.writeflags(options, 'Options');
    return options.create.forEach(function(filepath) {
      grunt.log.write('Creating "' + filepath + '"...');
      try {
        filepath = grunt.template.process( filepath );
        grunt.file.mkdir(filepath, options.mode);
        return grunt.log.ok();
      } catch (e) {
        grunt.log.error();
        grunt.verbose.error(e);
        return grunt.fail.warn('Mkdir operation failed.');
      }
    });
  });
};

--- 
+++ 
@@ -10,7 +10,7 @@
     return options.create.forEach(function(filepath) {
       grunt.log.write('Creating "' + filepath + '"...');
       try {
-        filepath = grunt.template.process( filepath );
+        filepath = grunt.template.process(filepath);
         grunt.file.mkdir(filepath, options.mode);
         return grunt.log.ok();
       } catch (e) {
Change to code style that reflects rest of project