Skip to content

Commit c15f90e

Browse files
committed
Fix typo
1 parent 0099e16 commit c15f90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/handlebars/compiler/compiler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,6 @@ function transformLiteralToPath(sexpr) {
494494
var literal = sexpr.path;
495495
// Casting to string here to make false and 0 literal values play nicely with the rest
496496
// of the system.
497-
sexpr.path = new AST.PathExpression(false, 0, [literal.original+''], literal.original+'', literal.log);
497+
sexpr.path = new AST.PathExpression(false, 0, [literal.original+''], literal.original+'', literal.loc);
498498
}
499499
}

0 commit comments

Comments
 (0)