mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 14:38:17 +08:00
DEV: Return a non-zero exit code when discourse remap
is aborted (#12873)
This makes it much easier to integrate the script with external tools
This commit is contained in:
parent
8517b6f386
commit
8b87cb07c3
|
@ -43,7 +43,7 @@ class DiscourseCLI < Thor
|
|||
text = STDIN.gets
|
||||
if text.strip != "YES"
|
||||
puts "aborting."
|
||||
exit
|
||||
exit 1
|
||||
end
|
||||
|
||||
if options[:global]
|
||||
|
|
Loading…
Reference in New Issue
Block a user