fix File::addHelper unknown helper error message

This commit is contained in:
Sebastian McKenzie
2015-02-08 00:01:26 +11:00
parent 689ce048e6
commit 067cf43f52
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ File.prototype.isConsequenceExpressionStatement = function (node) {
File.prototype.addHelper = function (name) {
if (!contains(File.helpers, name)) {
throw new ReferenceError("unknown helper " + name);
throw new ReferenceError("Unknown helper " + name);
}
var program = this.ast.program;