Skip to content

Commit

Permalink
Fix multiple apps support for open.apps (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richienb committed Apr 27, 2021
1 parent 01887ed commit b75ebaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -221,7 +221,7 @@ const open = async (target, options) => {
};

function detectArchBinary(binary) {
if (typeof binary === 'string') {
if (typeof binary === 'string' || Array.isArray(binary)) {
return binary;
}

Expand Down

0 comments on commit b75ebaa

Please sign in to comment.