Add instructions for 'spec/mustache' to CONTRIBUTING.md, fix a few typos elsewere

This commit is contained in:
Or Neeman
2014-12-07 08:44:03 -06:00
parent 3238645f26
commit e7f51c2248
5 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports.cli = function(opts) {
});
if (opts.simple && opts.min) {
throw new Handlebars.Exception('Unable to minimze simple output');
throw new Handlebars.Exception('Unable to minimize simple output');
}
if (opts.simple && (opts.templates.length !== 1 || fs.statSync(opts.templates[0]).isDirectory())) {
throw new Handlebars.Exception('Unable to output multiple templates in simple mode');