diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2023-01-25 21:51:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 21:51:07 -0500 |
commit | 560dbf9563d1619cac6843e2dc31219efb7da857 (patch) | |
tree | 8ff3223a5686ef5e5a3e433e9ecfdba851b325e3 /lib/compilers/dosbox-compiler.ts | |
parent | db69a5e81307dff199c0aae4801cdcf7c873a7a4 (diff) | |
download | compiler-explorer-560dbf9563d1619cac6843e2dc31219efb7da857.tar.gz compiler-explorer-560dbf9563d1619cac6843e2dc31219efb7da857.zip |
Tsify compilation-env (#4636)gh-5967
Diffstat (limited to 'lib/compilers/dosbox-compiler.ts')
-rw-r--r-- | lib/compilers/dosbox-compiler.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/dosbox-compiler.ts b/lib/compilers/dosbox-compiler.ts index 8ece53ded..4a19ea442 100644 --- a/lib/compilers/dosbox-compiler.ts +++ b/lib/compilers/dosbox-compiler.ts @@ -108,12 +108,12 @@ export class DosboxCompiler extends BaseCompiler { } const key = this.getCompilerCacheKey(compiler, args, options); - let result = await this.env.compilerCacheGet(key); + let result = await this.env.compilerCacheGet(key as any); if (!result) { result = await this.env.enqueue(async () => this.exec(compiler, args, options)); if (result.okToCache) { this.env - .compilerCachePut(key, result) + .compilerCachePut(key as any, result, undefined) .then(() => { // Do nothing, but we don't await here. }) |