Skip to content

Commit

Permalink
Fix Node.js 12 compatibility (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 committed Mar 2, 2021
1 parent 48ea703 commit 71777b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -85,7 +85,7 @@ const open = async (target, options) => {
}));
}

let {name: app, appArguments = []} = options.app ?? {};
let {name: app, appArguments = []} = options.app || {};

if (Array.isArray(app)) {
return pTryEach(app, appName => open(target, {
Expand Down

0 comments on commit 71777b1

Please sign in to comment.