Skip to content

Commit 9bcd285

Browse files
authoredAug 28, 2020
Fix app option on Windows (#191)
1 parent 1022f42 commit 9bcd285

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ module.exports = async (target, options) => {
3232
};
3333

3434
let command;
35-
let app;
35+
let {app} = options;
3636
let appArguments = [];
3737
const cliArguments = [];
3838
const childProcessOptions = {};
3939

40-
if (Array.isArray(options.app)) {
41-
appArguments = options.app.slice(1);
42-
app = options.app[0];
40+
if (Array.isArray(app)) {
41+
appArguments = app.slice(1);
42+
app = app[0];
4343
}
4444

4545
if (process.platform === 'darwin') {

0 commit comments

Comments
 (0)
Please sign in to comment.