Skip to content

Commit c21fbba

Browse files
committed
fix: show output
1 parent bdba7ef commit c21fbba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/deploy/node-pipeline/build_project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const build_project = async (args: BuildProjectArgs) => {
2121
if (build_command) {
2222
const cwd = args.cwd || process.cwd();
2323
log.info(`⚙️ Building project [${build_command}]...`);
24-
const timeout = 1000 * 60 * 100; // 100 minute timeout
24+
const timeout = 1000 * 60 * 30; // 30 minute timeout
2525

2626
await cmd(build_command, {
2727
timeout,

src/lib/cmd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const cmd = async (cmd: string, config?: Partial<CmdConfig>) => {
3636
return result;
3737
} catch (error) {
3838
const output = out_data.map((b) => b.toString()).join("\n");
39-
log.error(output);
39+
log.error(error?.message);
4040
throw new Error(`Command error: ${cmd}`);
4141
}
4242
};

0 commit comments

Comments
 (0)