Skip to content

Commit 069b80f

Browse files
committed
Fixing typo in exists helper
1 parent 1589bc2 commit 069b80f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statix/src/helpers/helper-exists.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports.register = function (Handlebars, options) {
55
'use strict';
66
Handlebars.registerHelper('exists', function(variable, options) {
77
if (typeof variable !== 'undefined') {
8-
return optins.fn(this);
8+
return options.fn(this);
99
} else {
1010
return options.inverse(this);
1111
}

0 commit comments

Comments
 (0)