mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
update script
This commit is contained in:
parent
2b8da8fa96
commit
cb60bdd510
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user