This commit is contained in:
xiaojunnuo
2024-07-23 23:39:13 +08:00
parent b9fe3b9c87
commit f7fc06e657
2 changed files with 8 additions and 2 deletions

View File

@@ -8,6 +8,12 @@ function check(){
console.error("git-add 没有修改过")
throw new Error("git-add 还没修改过")
}
//GH_TOKEN
if(!process.env.GH_TOKEN){
console.error("GH_TOKEN 未设置")
throw new Error("GH_TOKEN 未设置")
}
}
check()
check()