update script

This commit is contained in:
SrGooglo 2024-02-19 19:07:43 +00:00
parent 2b8da8fa96
commit cb60bdd510

View File

@ -149,7 +149,7 @@ async function main() {
cwd: process.cwd() cwd: process.cwd()
}).toString().trim() }).toString().trim()
if (gitStatus.length > 0) { if (gitStatus.length > 0 && !process.argv.includes("--force")) {
console.error("🆘 There are pending changes to commit, please commit first.") console.error("🆘 There are pending changes to commit, please commit first.")
return false return false
} }