1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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