Comparing version 0.1.16 to 0.1.17
@@ -81,4 +81,5 @@ var fs = require('fs'), | ||
function combine (possibilities, cmd) { | ||
var parts = /^(.*[\/\s])[^\/\s]*$/.exec(cmd); | ||
var parts = /^(.*[\/\s])?[^\/\s]*$/.exec(cmd); | ||
possibilities = possibilities.map(function (v) { | ||
if (!parts[1]) parts[1] = ''; | ||
return parts[1] + v; | ||
@@ -85,0 +86,0 @@ }); |
{ | ||
"name": "jsh", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "The JavaScript shell interpreter.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
110914
1817