Refactoring: Execute AutoWizard.setup instead of starting a new process since we are already in the Rails application context.
This commit is contained in:
parent
ee0b51b670
commit
b66adbaba7
1 changed files with 1 additions and 1 deletions
|
@ -23,5 +23,5 @@ end
|
|||
|
||||
def run_auto_wizard
|
||||
FileUtils.ln(AUTO_WIZARD[:source], AUTO_WIZARD[:destination], force: true)
|
||||
system('rails runner "AutoWizard.setup"')
|
||||
AutoWizard.setup
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue