aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/hook.ts
diff options
context:
space:
mode:
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), '..'));
}