@corva/create-app 0.89.0-rc.0 → 0.89.1-0

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.
@@ -7,18 +7,13 @@ const originalCwd = process.cwd();
7
7
 
8
8
  process.chdir(__dirname);
9
9
 
10
- const preparedOriginalArgs = process.argv
11
- .slice(2)
12
- // after changing the cwd need to pass the original path
13
- .concat(['--original-cwd', originalCwd])
14
- // leave spaces in place for arguments
15
- .map((a) => (a.includes(' ') ? `"${a}"` : a));
16
-
17
- const args = ['--no-warnings', '--experimental-json-modules', 'cca.js'].concat(preparedOriginalArgs);
10
+ const args = ['--no-warnings', '--experimental-json-modules', 'cca.js']
11
+ .concat(process.argv.slice(2))
12
+ .concat(['--original-cwd', originalCwd]);
18
13
 
19
14
  const { signal, status, error } = spawnSync(cmd, args, {
20
15
  stdio: 'inherit',
21
- shell: true,
16
+ shell: false,
22
17
  });
23
18
 
24
19
  if (signal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/create-app",
3
- "version": "0.89.0-rc.0",
3
+ "version": "0.89.1-0",
4
4
  "private": false,
5
5
  "description": "Create an app to use it in CORVA.AI",
6
6
  "keywords": [