Skip to content

Commit 6904ddf

Browse files
Bugfix: BasePath ignores path max length
1 parent 65a23a6 commit 6904ddf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bin/typedoc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,8 @@ var td;
977977
return;
978978
}
979979
}
980-
// Complete match, nothing to do
980+
// Complete match, exit
981+
this.basePaths[n] = basePath.splice(0, mMax).join('/');
981982
return;
982983
}
983984
// Unknown base path, add it

src/td/converter/BasePath.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ module td
4343
}
4444
}
4545

46-
// Complete match, nothing to do
46+
// Complete match, exit
47+
this.basePaths[n] = basePath.splice(0, mMax).join('/');
4748
return;
4849
}
4950

0 commit comments

Comments
 (0)