Remove unused parts of the hak build system (#2174)

This commit is contained in:
Michael Telatynski
2025-02-28 15:15:32 +00:00
committed by GitHub
parent 7847e53adc
commit 1496f3d64c
5 changed files with 4 additions and 40 deletions

View File

@@ -10,7 +10,5 @@ import type { DependencyInfo } from "./dep.js";
import type HakEnv from "./hakEnv.js";
export default async function check(hakEnv: HakEnv, moduleInfo: DependencyInfo): Promise<void> {
if (moduleInfo.scripts.check) {
await moduleInfo.scripts.check(hakEnv, moduleInfo);
}
await moduleInfo.scripts.check?.(hakEnv, moduleInfo);
}