fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641)

* fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6]
This commit is contained in:
flywind 2022-03-26 18:50:15 +08:00 • committed by GitHub
commit 82319ef00d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1,9 @@
mode = ScriptMode.Verbose
proc build() =
echo "building nim... "
exec "sleep 10"
exec "nonexistant command"
echo getCurrentDir()
echo "hello"
build()