Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 9116028

Browse files
committed
Add support for plugins in scoped modules #51
1 parent 6478bb6 commit 9116028

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/plugin_loader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ PluginLoader.prototype.detectPugins = function(dir) {
4646
// Every dir start with "apidoc-plugin-", because for the tests of apidoc-plugin-test.
4747
var plugins;
4848
try {
49-
plugins = glob.sync(dir + '/apidoc-plugin-*');
49+
plugins = glob.sync(dir + '/apidoc-plugin-*')
50+
.concat( glob.sync(dir + '/@*/apidoc-plugin-*') );
5051
} catch (e) {
5152
app.log.warn(e);
5253
return;

0 commit comments

Comments
 (0)