DEV: Update `namespaceModules` argument name (#19166)
In 1279966f
we started namespacing modules based on the plugin's defined name rather than the directory name. This commit updates the argument name to match what we're passing in. This it just a readability change - there is no change in behaviour.
This commit is contained in:
parent
023333a8e5
commit
890e4f9854
|
@ -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}`;
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue