mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-09 15:17:49 +02:00
fix: remove quote from sha
This commit is contained in:
@@ -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, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user