mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-03 09:33:47 +01:00
fix: fix webview on root repo
This commit is contained in:
1 parent
17cb1f294f
commit
17abc47d08
3 files changed
+12
-11
No files matched your search
@@ -131,7 +131,7 @@ export default class AnonymizedFile {
|
||||
span.setAttribute("file", this.anonymizedPath);
|
||||
try {
|
||||
span.setAttribute("anonymizedPath", this.anonymizedPath);
|
||||
if (!this.anonymizedPath) {
|
||||
if (this.anonymizedPath == null) {
|
||||
throw new AnonymousError("path_not_specified", {
|
||||
object: this,
|
||||
httpStatus: 400,
|
||||
|
||||
Reference in new issue
Block a user