mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-14 08:17:26 +01:00
fix: remove quote from sha
This commit is contained in:
1 parent
e94a5f164a
commit
3a55a4d5b0
1 file changed
+2
-2
@@ -31,9 +31,9 @@ export default class AnonymizedFile {
|
||||
}
|
||||
|
||||
async sha() {
|
||||
if (this._sha) return this._sha;
|
||||
if (this._sha) return this._sha.replace(/"/g, "");
|
||||
await this.originalPath();
|
||||
return this._sha;
|
||||
return this._sha?.replace(/"/g, "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user