This commit is contained in:
Kevin Leung
2020-03-11 22:19:20 +08:00
parent cfcb144c96
commit 41ff8ada26
2 changed files with 2 additions and 3 deletions

View File

@@ -365,8 +365,7 @@ exports.getState = getState;
(function ($global) { "use strict";
var Main = function() { };
Main.main = function() {
var version = __webpack_require__(470).getInput("lix-version");
var args = ["-g","i","lix@" + version];
var args = ["-g","i","lix@" + __webpack_require__(470).getInput("lix-version")];
if(args == null) {
js_node_ChildProcess.spawnSync("npm",{ shell : true, stdio : "inherit"});
} else {