Permalink
Browse files

Bugfix: Missing windows root path for plugin detect.

  • Loading branch information...
1 parent 7931f0e commit 09a214b6a48ad71569ba4f6ea6ab9b3eb84718ea @rottmann rottmann committed Apr 22, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/plugin_loader.js
  2. +1 −1 package.json
@@ -47,7 +47,7 @@ PluginLoader.prototype.detectPugins = function(dir) {
var plugins = glob.sync(dir + '/apidoc-plugin-*');
if (plugins.length === 0) {
dir = path.join(dir, '..');
- if (dir === '/')
+ if (dir === '/' || dir.substr(1) === ':\\')
return;
return this.detectPugins(dir);
}
View
@@ -1,6 +1,6 @@
{
"name": "apidoc-core",
- "version": "0.7.0",
+ "version": "0.7.1",
"description": "Core parser library to generate apidoc result following the apidoc-spec",
"author": "Peter Rottmann <rottmann@inveris.de>",
"license": {

0 comments on commit 09a214b

Please sign in to comment.