mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:13:22 +08:00
Suggest running discourse not script/discourse (#5089)
Having `discourse restore` offer copy/paste of backups is awesome, but doesn't work (rails won't load) if you call script/discourse.
This commit is contained in:
parent
fd2cd63b08
commit
657e5a8633
|
@ -91,7 +91,7 @@ class DiscourseCLI < Thor
|
|||
puts "You must provide a filename to restore. Did you mean one of the following?\n\n"
|
||||
|
||||
Dir["public/backups/default/*"].each do |f|
|
||||
puts "script/discourse restore #{File.basename(f)}"
|
||||
puts "discourse restore #{File.basename(f)}"
|
||||
end
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user