@faable/faable 1.5.9 → 1.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ const build_project = async (args) => {
10
10
  if (build_command) {
11
11
  const cwd = args.cwd || process.cwd();
12
12
  log.info(`⚙️ Building project [${build_command}]...`);
13
- const timeout = 1000 * 60 * 100; // 100 minute timeout
13
+ const timeout = 1000 * 60 * 30; // 30 minute timeout
14
14
  await cmd(build_command, {
15
15
  timeout,
16
16
  cwd,
package/dist/lib/cmd.js CHANGED
@@ -26,7 +26,10 @@ const cmd = async (cmd, config) => {
26
26
  }
27
27
  catch (error) {
28
28
  const output = out_data.map((b) => b.toString()).join("\n");
29
- log.error(output);
29
+ log.error(error?.message);
30
+ if (output) {
31
+ log.error(output);
32
+ }
30
33
  throw new Error(`Command error: ${cmd}`);
31
34
  }
32
35
  };
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "yaml": "^2.8.2",
15
15
  "yargs": "^18.0.0"
16
16
  },
17
- "version": "1.5.9",
17
+ "version": "1.5.10",
18
18
  "bin": {
19
19
  "faable": "bin/faable.js"
20
20
  },