Skip to content

Instantly share code, notes, and snippets.

@rxaviers
Last active December 19, 2015 05:29
Show Gist options
  • Select an option

  • Save rxaviers/5904661 to your computer and use it in GitHub Desktop.

Select an option

Save rxaviers/5904661 to your computer and use it in GitHub Desktop.
--- a/grunt.js
+++ b/grunt.js
@@ -66,7 +66,8 @@ grunt.registerTask( "manifest", "Generate categories.json manifest file", functi
return done( false );
}
- grunt.file.write( grunt.config( "wordpress.dir" ) + "/categories.json", JSON.stringify( categories, null, "\t" ) + "\n" );
+ grunt.file.write( grunt.config( "wordpress.dir" ) + "/categories.json",
+ JSON.stringify( categories, null, "\t" ) + "\n" );
done();
});
});
--- a/grunt.js
+++ b/grunt.js
@@ -66,7 +66,10 @@ grunt.registerTask( "manifest", "Generate categories.json manifest file", functi
return done( false );
}
- grunt.file.write( grunt.config( "wordpress.dir" ) + "/categories.json", JSON.stringify( categories, null, "\t" ) + "\n" );
+ grunt.file.write(
+ grunt.config( "wordpress.dir" ) + "/categories.json",
+ JSON.stringify( categories, null, "\t" ) + "\n"
+ );
done();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment