aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/hook.ts
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-02-22 17:45:55 -0500
committerGitHub <noreply@github.com>2023-02-22 17:45:55 -0500
commit563b220cb9243ea19a49cfe82cf9fcadda79b600 (patch)
tree158e3737e83ca4e3c00f647a13c74b070549e315 /lib/compilers/hook.ts
parent17ac75facd403c7f476546707645989191fe4864 (diff)
downloadcompiler-explorer-563b220cb9243ea19a49cfe82cf9fcadda79b600.tar.gz
compiler-explorer-563b220cb9243ea19a49cfe82cf9fcadda79b600.zip
Type work for some handlers and stuff related to the compiler-finder (#4752)gh-6407
Diffstat (limited to 'lib/compilers/hook.ts')
-rw-r--r--lib/compilers/hook.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/hook.ts b/lib/compilers/hook.ts
index 2a4b5c8aa..a97239863 100644
--- a/lib/compilers/hook.ts
+++ b/lib/compilers/hook.ts
@@ -25,7 +25,7 @@
import path from 'path';
import {CompilationResult, ExecutionOptions} from '../../types/compilation/compilation.interfaces';
-import {CompilerInfo} from '../../types/compiler.interfaces';
+import {PreliminaryCompilerInfo} from '../../types/compiler.interfaces';
import {ExecutableExecutionOptions} from '../../types/execution/execution.interfaces';
import {ParseFiltersAndOutputOptions} from '../../types/features/filters.interfaces';
import {BaseCompiler} from '../base-compiler';
@@ -34,7 +34,7 @@ import {CompilationEnvironment} from '../compilation-env';
export class HookCompiler extends BaseCompiler {
private readonly hook_home: string;
- constructor(compilerInfo: CompilerInfo & Record<string, any>, env: CompilationEnvironment) {
+ constructor(compilerInfo: PreliminaryCompilerInfo & Record<string, any>, env: CompilationEnvironment) {
super(compilerInfo, env);
this.hook_home = path.resolve(path.join(path.dirname(this.compiler.exe), '..'));
}