Skip to content

Commit 9e1bd71

Browse files
committed
Fixed issue locating package.json file.
1 parent 052a9f3 commit 9e1bd71

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bin/doxdox

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ while (args.length) {
9797

9898
}
9999

100-
if (!pkg) {
100+
if (pkg) {
101+
102+
pkg = utils.findPackagePath(pkg);
103+
104+
} else {
101105

102106
pkg = utils.findPackagePath(input);
103107

0 commit comments

Comments
 (0)