Skip to content

Commit c46ec44

Browse files
committed
Fixed bug related to relative directories.
1 parent 5cd229a commit c46ec44

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
@@ -103,7 +103,7 @@ if (!pkg && fs.existsSync(input)) {
103103

104104
if (stat.isDirectory()) {
105105

106-
pkg = path.normalize(input + '/package.json');
106+
pkg = path.normalize(path.resolve(input) + '/package.json');
107107

108108
} else if (stat.isFile()) {
109109

0 commit comments

Comments
 (0)