fix: remove quote from sha

This commit is contained in:
tdurieux
2023-04-06 13:09:15 +02:00
parent e94a5f164a
commit 3a55a4d5b0
+2 -2
View File
@@ -31,9 +31,9 @@ export default class AnonymizedFile {
} }
async sha() { async sha() {
if (this._sha) return this._sha; if (this._sha) return this._sha.replace(/"/g, "");
await this.originalPath(); await this.originalPath();
return this._sha; return this._sha?.replace(/"/g, "");
} }
/** /**