diff --git a/lib/installer.js b/lib/installer.js index 5f068a15..09c352b5 100644 --- a/lib/installer.js +++ b/lib/installer.js @@ -180,7 +180,7 @@ function getDownloadInfo(refs, version) { let versionMap = new Map(); // Filter by platform refs.forEach(ref => { - if (ref.indexOf(extension) < 0) { + if (!ref.endsWith(extension + '">')) { return; } // If we haven't returned, means we're looking at the correct platform