mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00: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
|
text = STDIN.gets
|
||||||
if text.strip != "YES"
|
if text.strip != "YES"
|
||||||
puts "aborting."
|
puts "aborting."
|
||||||
exit
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
||||||
if options[:global]
|
if options[:global]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user