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

Commit 09a214b

Browse files
committed
Bugfix: Missing windows root path for plugin detect.
1 parent 7931f0e commit 09a214b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/plugin_loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PluginLoader.prototype.detectPugins = function(dir) {
4747
var plugins = glob.sync(dir + '/apidoc-plugin-*');
4848
if (plugins.length === 0) {
4949
dir = path.join(dir, '..');
50-
if (dir === '/')
50+
if (dir === '/' || dir.substr(1) === ':\\')
5151
return;
5252
return this.detectPugins(dir);
5353
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apidoc-core",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "Core parser library to generate apidoc result following the apidoc-spec",
55
"author": "Peter Rottmann <rottmann@inveris.de>",
66
"license": {

0 commit comments

Comments
 (0)