We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f46774b commit 8772aa5Copy full SHA for 8772aa5
lib/eval.js
@@ -5,7 +5,7 @@ var chalk = require('chalk')
5
* prompt answers data.
6
*/
7
8
-module.exports = function evalualte (exp, data) {
+module.exports = function evaluate (exp, data) {
9
/* eslint-disable no-new-func */
10
var fn = new Function('data', 'with (data) { return ' + exp + '}')
11
try {
0 commit comments