refactor: variableize yaml lane node naming
This commit is contained in:
+2
-2
@@ -392,8 +392,8 @@ async function main(): Promise<void> {
|
||||
return;
|
||||
}
|
||||
if (sub === "g14") {
|
||||
const { runHwlabG14Command } = await import("./src/hwlab-g14");
|
||||
const result = await runHwlabG14Command(readConfig(), args.slice(2));
|
||||
const { runHwlabLegacyRuntimeCommand } = await import("./src/hwlab-legacy-runtime");
|
||||
const result = await runHwlabLegacyRuntimeCommand(readConfig(), args.slice(2));
|
||||
const ok = (result as { ok?: unknown }).ok !== false;
|
||||
emitJson(commandName, result, ok);
|
||||
if (!ok) process.exitCode = 1;
|
||||
|
||||
Reference in New Issue
Block a user