Skip to content

Commit

Permalink
Fix app option on Windows (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-stasse authored Aug 28, 2020
1 parent 1022f42 commit 9bcd285
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ module.exports = async (target, options) => {
};

let command;
let app;
let {app} = options;
let appArguments = [];
const cliArguments = [];
const childProcessOptions = {};

if (Array.isArray(options.app)) {
appArguments = options.app.slice(1);
app = options.app[0];
if (Array.isArray(app)) {
appArguments = app.slice(1);
app = app[0];
}

if (process.platform === 'darwin') {
Expand Down

0 comments on commit 9bcd285

Please sign in to comment.