repl.history
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -8,7 +8,7 @@ var fs = require('fs'); | ||
repl.rli.history.shift(); | ||
repl.rli.historyIndex = 0; | ||
repl.rli.historyIndex = -1; // will be incremented before pop | ||
} catch (e) {} | ||
var fd = fs.openSync(file, 'a'), reval = repl.eval; | ||
repl.rli.addListener('line', function(code) { | ||
@@ -38,2 +38,2 @@ if (code && code !== '.history') { | ||
}; | ||
}; | ||
}; |
@@ -12,6 +12,6 @@ { | ||
"license": "MIT", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com//tmpvar/repl.history" | ||
"url": "git://github.com/tmpvar/repl.history" | ||
}, | ||
@@ -18,0 +18,0 @@ "dependencies": {}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3129
32