1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-23 22:57:05 +09:00

Provide richer failure information in bin/setup (#30581)

This commit is contained in:
Matt Jankowski 2024-06-06 16:29:16 -04:00 committed by GitHub
parent 12823908bb
commit 94d8d1094f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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