Skip to content

Commit

Permalink
fix: Eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
byakuren-hijiri committed Aug 1, 2024
1 parent cd8b63f commit 0f948f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pipeline/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
): CompilerContext {
if (config.options === undefined) {
return ctx;
}
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 0f948f0

Please sign in to comment.