Skip to content

Commit 71777b1

Browse files
authored
Fix Node.js 12 compatibility (#229)
1 parent 48ea703 commit 71777b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const open = async (target, options) => {
8585
}));
8686
}
8787

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

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

0 commit comments

Comments
 (0)