firefly-compiler 0.4.57 → 0.4.58

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.
@@ -121,7 +121,7 @@ extend self: NodeSystem {
121
121
  arguments_ = ['/C', ...[command_, ...arguments_].map(argument =>
122
122
  argument.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1")
123
123
  )];
124
- command_ = 'cmd.exe';
124
+ command_ = process.env.ComSpec || 'cmd.exe';
125
125
  }
126
126
  const newProcess = childProcess.spawn(command_, arguments_, {
127
127
  cwd: workingDirectory_.value_,
@@ -373,7 +373,7 @@ export async function NodeSystem_execute$(self_, command_, arguments_, standardI
373
373
  arguments_ = ['/C', ...[command_, ...arguments_].map(argument =>
374
374
  argument.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1")
375
375
  )];
376
- command_ = 'cmd.exe';
376
+ command_ = process.env.ComSpec || 'cmd.exe';
377
377
  }
378
378
  const newProcess = childProcess.spawn(command_, arguments_, {
379
379
  cwd: workingDirectory_.value_,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.57",
7
+ "version": "0.4.58",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.57",
7
+ "version": "0.4.58",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"