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

Merge pull request #46083 from yahonda/follow_up_46064

Use `system(.., exception: true)` for dummy apps
This commit is contained in:
Yasuo Honda 2022-09-20 23:45:23 +09:00 committed by GitHub
commit 5fb3e721e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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