mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-02 06:39:34 +02:00
Fix 9 bugs and add 103 tests for core anonymization, config, and routing (#669)
This commit is contained in:
1 parent
261eaa8d79
commit
188066e91d
23 files changed
+2630
-39
No files matched your search
@@ -98,14 +98,14 @@ export default class PullRequest {
|
||||
/**
|
||||
* Check the status of the pullRequest
|
||||
*/
|
||||
check() {
|
||||
async check() {
|
||||
if (
|
||||
this._model.options.expirationMode !== "never" &&
|
||||
this.status == "ready" &&
|
||||
this._model.options.expirationDate
|
||||
) {
|
||||
if (this._model.options.expirationDate <= new Date()) {
|
||||
this.expire();
|
||||
await this.expire();
|
||||
}
|
||||
}
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user