From e3b917cb2a89af3b3f443c8a26dfa880feb13f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Sat, 5 Aug 2023 15:46:23 +0300 Subject: [PATCH] fix lint --- packages/lib-sourcify/src/lib/solidityCompiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib-sourcify/src/lib/solidityCompiler.ts b/packages/lib-sourcify/src/lib/solidityCompiler.ts index 37af20f69..aedb051d5 100644 --- a/packages/lib-sourcify/src/lib/solidityCompiler.ts +++ b/packages/lib-sourcify/src/lib/solidityCompiler.ts @@ -87,7 +87,7 @@ export async function useCompiler(version: string, solcJsonInput: JsonInput) { // Run Worker for solc versions < 0.4.0 for clean compiler context. See https://github.com/ethereum/sourcify/issues/1099 if (semver.lt(coercedVersion, '0.4.0')) { compiled = await new Promise((resolve, reject) => { - let worker = importWorker( + const worker = importWorker( path.resolve(__dirname, './compilerWorker.ts'), { workerData: { version, inputStringified },