未验证 提交 2732860e 编写于 作者: J Joz 提交者: GitHub

Fix: skyapm-egg-require failed to parse npm command args (#108)

accidentally add an extra '!'
上级 d244bf3d
......@@ -18,7 +18,7 @@
"use strict";
const argString = process.argv.slice(2);
const args = JSON.parse(!argString && argString.length > 0 ? argString : "{}");
const args = JSON.parse(argString && argString.length > 0 ? argString : "{}");
let serviceName;
let directServers;
let authentication;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册