Skip to content

Commit

Permalink
Merge pull request #37 from TMBotDev/beta
Browse files Browse the repository at this point in the history
修复无法运行bug
  • Loading branch information
timiya233 authored Jun 29, 2023
2 parents 938f47f + 668d920 commit a91cc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function delayLoadPlugins() {
}

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

0 comments on commit a91cc14

Please sign in to comment.