gtx-cli 1.2.5 → 1.2.6

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.
package/dist/cli/react.js CHANGED
@@ -174,7 +174,7 @@ class ReactCLI extends base_1.BaseCLI {
174
174
  .join('\n')));
175
175
  }
176
176
  else {
177
- (0, console_1.logError)(chalk_1.default.red(`CLI tool encountered errors while scanning for ${chalk_1.default.green('<T>')} tags. ${chalk_1.default.gray('To ignore these errors, re-run with --ignore-errors')}\n` +
177
+ (0, console_1.logErrorAndExit)(chalk_1.default.red(`CLI tool encountered errors while scanning for ${chalk_1.default.green('<T>')} tags. ${chalk_1.default.gray('To ignore these errors, re-run with --ignore-errors')}\n` +
178
178
  errors.map((error) => chalk_1.default.red('• Error: ') + error).join('\n')));
179
179
  }
180
180
  }
@@ -40,7 +40,7 @@ async function stageProject(settings, pkg) {
40
40
  .join('')));
41
41
  }
42
42
  else {
43
- (0, logging_1.logError)(chalk_1.default.red(`CLI tool encountered errors while scanning for ${chalk_1.default.green('<T>')} tags. ${chalk_1.default.gray('To ignore these errors, re-run with --ignore-errors')}\n` +
43
+ (0, errors_1.logErrorAndExit)(chalk_1.default.red(`CLI tool encountered errors while scanning for ${chalk_1.default.green('<T>')} tags. ${chalk_1.default.gray('To ignore these errors, re-run with --ignore-errors')}\n` +
44
44
  errors
45
45
  .map((error) => chalk_1.default.red('• Error: ') + error + '\n')
46
46
  .join('')));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtx-cli",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/main.js",
6
6
  "scripts": {