fix: fix webview on root repo

This commit is contained in:
tdurieux committed 2024-04-28 08:08:39 +01:00
1 parent 17cb1f294f
commit 17abc47d08
3 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -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,