Skip to content

Commit cfb8160

Browse files
committed
Fixed issue with relative source paths.
1 parent d4c581c commit cfb8160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/doxdox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if (!pkg && fs.existsSync(input)) {
9393

9494
} else if (stat.isFile()) {
9595

96-
pkg = path.normalize(path.dirname(input) + '/package.json');
96+
pkg = path.normalize(path.resolve(path.dirname(input)) + '/package.json');
9797

9898
}
9999

0 commit comments

Comments
 (0)