A platform for community discussion. Free, open, simple.
DEV: Update `namespaceModules` argument name (#19166)
David Taylor890e4f98549e
diff --git a/app/assets/javascripts/discourse-plugins/index.js b/app/assets/javascripts/discourse-plugins/index.jsindex 74fea7f45f3..0b68baac3d1 100644--- a/app/assets/javascripts/discourse-plugins/index.js+++ b/app/assets/javascripts/discourse-plugins/index.js@@ -56,10 +56,10 @@ function unColocateConnectors(tree) {});}-function namespaceModules(tree, pluginDirectoryName) {+function namespaceModules(tree, pluginName) {return new Funnel(tree, {getDestinationPath: function (relativePath) {- return `discourse/plugins/${pluginDirectoryName}/${relativePath}`;+ return `discourse/plugins/${pluginName}/${relativePath}`;},});}