Skip to content

Commit 435bd59

Browse files
BasePath does not truncate paths
1 parent 9bb4b38 commit 435bd59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typedoc/factories/BasePath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module TypeDoc.Factories
1212
var len = basePath.length;
1313

1414
while (basePath != dirname.substr(0, len)) {
15-
if (len <= dirname.length) {
15+
if (len >= dirname.length) {
1616
return;
1717
}
1818

0 commit comments

Comments
 (0)