Skip to content

Commit a91cc14

Browse files
authored
Merge pull request #37 from TMBotDev/beta
修复无法运行bug
2 parents 938f47f + 668d920 commit a91cc14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function delayLoadPlugins() {
8888
}
8989

9090
async function load() {
91-
if (process.argv.indexOf("-syncVer")) {
91+
if (process.argv.indexOf("-syncVer") != -1) {
9292
let json = JSON.parse(FileClass.readFrom("./package.json")!);
9393
json["version"] = Version.version.join(".");
9494
let str = JSON.stringify(json, null, 2);

0 commit comments

Comments
 (0)