From 0f948f0f52d386f95acdc1f80d070391aa927453 Mon Sep 17 00:00:00 2001 From: Byakuren Hijiri Date: Thu, 1 Aug 2024 08:14:08 +0000 Subject: [PATCH] fix: Eslint warning --- src/pipeline/build.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pipeline/build.ts b/src/pipeline/build.ts index 18a1b8bcd..79d4c264a 100644 --- a/src/pipeline/build.ts +++ b/src/pipeline/build.ts @@ -22,11 +22,11 @@ import { getCompilerVersion } from "./version"; import { idText } from "../grammar/ast"; import { TactErrorCollection } from "../errors"; -export async function enableFeatures( +export function enableFeatures( ctx: CompilerContext, logger: Logger, config: ConfigProject, -): Promise { +): CompilerContext { if (config.options === undefined) { return ctx; } @@ -66,7 +66,7 @@ export async function build(args: { entrypoint: posixNormalize(config.path), options: config.options ?? {}, }); - ctx = await enableFeatures(ctx, logger, config); + ctx = enableFeatures(ctx, logger, config); // Precompile try {