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:
commit
5fb3e721e7
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue