We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 938f47f + 668d920 commit a91cc14Copy full SHA for a91cc14
app.ts
@@ -88,7 +88,7 @@ async function delayLoadPlugins() {
88
}
89
90
async function load() {
91
- if (process.argv.indexOf("-syncVer")) {
+ if (process.argv.indexOf("-syncVer") != -1) {
92
let json = JSON.parse(FileClass.readFrom("./package.json")!);
93
json["version"] = Version.version.join(".");
94
let str = JSON.stringify(json, null, 2);
0 commit comments