@tramvai/cli 4.26.0 → 4.26.2

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.
Files changed (2) hide show
  1. package/bin/spawn.js +1 -8
  2. package/package.json +2 -2
package/bin/spawn.js CHANGED
@@ -12,7 +12,7 @@ const paramsIndex = args.findIndex((x) => !x.startsWith('-'));
12
12
  const nodeArgs = paramsIndex > 0 ? args.slice(0, paramsIndex) : [];
13
13
 
14
14
  module.exports = function spawn(executePath) {
15
- const { status, signal, error, stderr } = spawnSync(
15
+ const { status, signal } = spawnSync(
16
16
  'node',
17
17
  defaultArgs
18
18
  .concat(nodeArgs)
@@ -24,13 +24,6 @@ module.exports = function spawn(executePath) {
24
24
  );
25
25
 
26
26
  if (signal) {
27
- if (error) {
28
- console.error('[spawn:error]', error);
29
- }
30
- if (stderr) {
31
- console.error('[spawn:stderr]', typeof stderr === 'string' ? stderr : stderr.toString());
32
- }
33
-
34
27
  throw new Error(`Process was exited with signal "${signal}"
35
28
  It's unexpected, please check available/used memory and cpu while running last command`);
36
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/cli",
3
- "version": "4.26.0",
3
+ "version": "4.26.2",
4
4
  "description": "Cli инструмент для сборки и запуска приложений",
5
5
  "files": [
6
6
  "src",
@@ -72,7 +72,7 @@
72
72
  "@tinkoff/utils": "^2.1.3",
73
73
  "@tinkoff/webpack-dedupe-plugin": "3.0.1",
74
74
  "@tramvai/build": "5.0.3",
75
- "@tramvai/react": "4.26.0",
75
+ "@tramvai/react": "4.26.2",
76
76
  "@tramvai/tools-check-versions": "0.6.4",
77
77
  "@tramvai/tools-migrate": "0.8.4",
78
78
  "ajv": "^8.12.0",