mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
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…
x
Reference in New Issue
Block a user