Skip to content

Commit 30f4abe

Browse files
Hongarcsindresorhus
Hongarc
andauthoredMar 9, 2020
Fix app option on Windows (#172)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
1 parent d8bf43e commit 30f4abe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎index.js

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ module.exports = async (target, options) => {
7777
// As a result, all double-quotes are stripped from the `target` and do not get to your desired destination.
7878
target = `"${target}"`;
7979
childProcessOptions.windowsVerbatimArguments = true;
80+
81+
if (options.app) {
82+
options.app = `"${options.app}"`;
83+
}
8084
}
8185

8286
if (options.wait) {

0 commit comments

Comments
 (0)
Please sign in to comment.