From 43814a0b6ed3edd6d8bb010e75d1baf79a54763e Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Tue, 8 Feb 2022 23:00:04 -0600 Subject: [PATCH] fix eslint error --- src/client/webapp/auto-verifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/webapp/auto-verifier.ts b/src/client/webapp/auto-verifier.ts index 1de2619..20f22ac 100644 --- a/src/client/webapp/auto-verifier.ts +++ b/src/client/webapp/auto-verifier.ts @@ -182,8 +182,8 @@ export class AutoVerifier { // @param lazyVerify: set to true to only verify if primaryResult returns null (useful for fetching resources since they can never change) // @param debug: print debug messages. This is useful if you (unfortunately) think there is a bug in this async fetchAndVerifyIfNeeded(lazyVerify = false, debug = false): Promise { - // eslint-disable-next-line no-async-promise-executor return await new Promise( + // eslint-disable-next-line no-async-promise-executor async (resolve: (result: T | null) => void, reject: (error: Error) => void) => { let resolved = false; const fetchId = debug && `v#${this.verifierId} f#${uuid.v4()}`;