We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8293c1 commit 863c704Copy full SHA for 863c704
JPushConfiguration.js
@@ -4,13 +4,13 @@ var spath = require('path');
4
var os = require('os');
5
6
// add other link flag
7
-var appKey = process.argv.splice(2)[0];
+var appKey = process.argv.slice(2)[0];
8
if (appKey == undefined || appKey == null) {
9
console.log("error 没有输入 appKey 参数");
10
return;
11
}
12
13
-var moduleName = process.argv.splice(2)[1];
+var moduleName = process.argv.slice(2)[1];
14
if (moduleName == undefined || moduleName == null) {
15
console.log("没有输入 moduleName, 将使用默认模块名: app");
16
moduleName = "app";
@@ -323,4 +323,4 @@ function configureGradle(path) {
323
console.log("Did not find \"compile\" in path: " + path);
324
325
326
-}
+}
0 commit comments