fix
This commit is contained in:
1 parent
eea2b1a089
commit
60ae3f43a0
1 file changed
+1
-1
@@ -5,7 +5,7 @@ let currentVersion = require("../package.json").version;
|
|||||||
let targetVersion = process.env.VERSION;
|
let targetVersion = process.env.VERSION;
|
||||||
console.log("[NapCat] [CheckVersion] currentVersion:", currentVersion, " targetVersion:", targetVersion);
|
console.log("[NapCat] [CheckVersion] currentVersion:", currentVersion, " targetVersion:", targetVersion);
|
||||||
// 借用dist目录输出脚本
|
// 借用dist目录输出脚本
|
||||||
fs.mkdir("./dist");
|
fs.mkdirSync("./dist");
|
||||||
if (currentVersion === targetVersion) {
|
if (currentVersion === targetVersion) {
|
||||||
fs.appendFileSync("../checkVersion.sh", "#!/bin/bashe\necho \"CheckVersion Is Done\"")
|
fs.appendFileSync("../checkVersion.sh", "#!/bin/bashe\necho \"CheckVersion Is Done\"")
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user