Skip to content
Permalink
Browse files

fix(installer): fix install prompt when multiple compatable targets f…

…ound
  • Loading branch information
MarshallOfSound authored and malept committed Jan 10, 2017
1 parent 9faf2d9 commit 9a2f36c902710ec6d85c381e374acb0d8155d473
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/api/install.js
@@ -106,7 +106,7 @@ export default async (providedOptions = {}) => {
if (possibleAssets.length > 1) {
if (chooseAsset) {
targetAsset = await Promise.resolve(chooseAsset(possibleAssets));
} else if (!interactive) {
} else if (interactive) {
const choices = [];
possibleAssets.forEach((asset) => {
choices.push({ name: asset.name, value: asset.id });

0 comments on commit 9a2f36c

Please sign in to comment.
You can’t perform that action at this time.