mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Correct path to ImportExport module (#8227)
During the move from Classic autoloader to Zeitwerk import_export module was moved to correct file name convention.
427d54b2b0 (diff-d896ec33b95afb7fae9f8bfe73d0580b)
Problem is that export/import is still using old path to require that module
Meta: https://meta.discourse.org/t/topic-and-category-export-import/38930/40
This commit is contained in:
@@ -264,7 +264,7 @@ class DiscourseCLI < Thor
|
||||
end
|
||||
|
||||
def load_import_export
|
||||
require File.expand_path(File.dirname(__FILE__) + "/../lib/import_export/import_export")
|
||||
require File.expand_path(File.dirname(__FILE__) + "/../lib/import_export")
|
||||
end
|
||||
|
||||
def do_remap(from, to, regex = false)
|
||||
|
||||
Reference in New Issue
Block a user