Use `system(.., exception: true)` for dummy apps

Related to #46064
This commit is contained in:
Yasuo Honda 2022-09-20 22:41:13 +09:00
parent fd7c773387
commit 0b80408b24
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ include FileUtils
APP_ROOT = File.expand_path('..', __dir__)
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
system(*args, exception: true)
end
chdir APP_ROOT do

View File

@ -6,7 +6,7 @@ include FileUtils
APP_ROOT = File.expand_path('..', __dir__)
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
system(*args, exception: true)
end
chdir APP_ROOT do

View File

@ -6,7 +6,7 @@ include FileUtils
APP_ROOT = File.expand_path('..', __dir__)
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
system(*args, exception: true)
end
chdir APP_ROOT do

View File

@ -6,7 +6,7 @@ include FileUtils
APP_ROOT = File.expand_path('..', __dir__)
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
system(*args, exception: true)
end
chdir APP_ROOT do