mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
@@ -43,7 +43,7 @@ class DiscourseCLI < Thor
|
||||
text = STDIN.gets
|
||||
if text.strip != "YES"
|
||||
puts "aborting."
|
||||
exit
|
||||
exit 1
|
||||
end
|
||||
|
||||
if options[:global]
|
||||
|
||||
Reference in New Issue
Block a user