Skip to content

Commit 5fb3e72

Browse files
authored
Merge pull request rails#46083 from yahonda/follow_up_46064
Use `system(.., exception: true)` for dummy apps
2 parents fd7c773 + 0b80408 commit 5fb3e72

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

actionmailbox/test/dummy/bin/setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include FileUtils
66
APP_ROOT = File.expand_path('..', __dir__)
77

88
def system!(*args)
9-
system(*args) || abort("\n== Command #{args} failed ==")
9+
system(*args, exception: true)
1010
end
1111

1212
chdir APP_ROOT do

actionmailbox/test/dummy/bin/update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include FileUtils
66
APP_ROOT = File.expand_path('..', __dir__)
77

88
def system!(*args)
9-
system(*args) || abort("\n== Command #{args} failed ==")
9+
system(*args, exception: true)
1010
end
1111

1212
chdir APP_ROOT do

actiontext/test/dummy/bin/setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include FileUtils
66
APP_ROOT = File.expand_path('..', __dir__)
77

88
def system!(*args)
9-
system(*args) || abort("\n== Command #{args} failed ==")
9+
system(*args, exception: true)
1010
end
1111

1212
chdir APP_ROOT do

actiontext/test/dummy/bin/update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include FileUtils
66
APP_ROOT = File.expand_path('..', __dir__)
77

88
def system!(*args)
9-
system(*args) || abort("\n== Command #{args} failed ==")
9+
system(*args, exception: true)
1010
end
1111

1212
chdir APP_ROOT do

0 commit comments

Comments
 (0)