From 9ae992dc89e8ea2bd3eb14dcb1e4aaf854543bd3 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 31 Jul 2024 00:43:42 +0900 Subject: [PATCH] bug fix #126 --- lib/shell.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/shell.js b/lib/shell.js index bfb76aa..a405090 100644 --- a/lib/shell.js +++ b/lib/shell.js @@ -54,8 +54,9 @@ var ShellObject = function() { }; this.build = function(cmd) { + var prefix = this.prefix; var wrap = function(s) { - return this.prefix != null ? [this.prefix, s].join(' ') : s; + return prefix != null ? [prefix, s].join(' ') : s; }; if (typeof(cmd) === "string") { @@ -221,7 +222,7 @@ exports.getPathOfMyDocuments = function() { exports.CdoCharset = PipeIPC.CdoCharset; -exports.VERSIONINFO = "Windows Shell Interface (shell.js) version 0.3.12"; +exports.VERSIONINFO = "Windows Shell Interface (shell.js) version 0.3.13"; exports.AUTHOR = "abuse@catswords.net"; exports.global = global; exports.require = global.require;