Skip to content
Permalink
Browse files

option, bugfix: fix JSON parse problem for node modules information (#…

  • Loading branch information...
Jaraxuss authored and xicilion committed Aug 29, 2018
1 parent ec9b7e6 commit f518636681cc9addf751b71bdda20ddf34a6bd7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 fibjs/scripts/opt_tools/install.js
@@ -1425,7 +1425,7 @@ function get_version(m, v, parent) {
if (info === undefined) {
var url = snap.registry + m.replace(/\//g, '%2F');
console.log('fetch metadata:', m, "=>", url);
infos[m] = info = http_get(url).json();
infos[m] = info = JSON.parse(http_get(url).body.readAll().toString());
}

var vers = [];

0 comments on commit f518636

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