@lde/pipeline-console-reporter 0.19.0 → 0.19.1

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.
@@ -170,10 +170,10 @@ export class ConsoleReporter {
170
170
  }
171
171
  stageValidated(_stage, report) {
172
172
  if (report.conforms) {
173
- this.printLine('succeed', `Validated ${compactNumber.format(report.quadsValidated)} quads`);
173
+ this.printLine(logSymbols.success, `Validated ${compactNumber.format(report.quadsValidated)} quads`);
174
174
  }
175
175
  else {
176
- this.printLine('fail', `Validated ${compactNumber.format(report.quadsValidated)} quads: ${chalk.red(`${compactNumber.format(report.violations)} violation(s)`)}`);
176
+ this.printLine(logSymbols.error, `Validated ${compactNumber.format(report.quadsValidated)} quads: ${chalk.red(`${compactNumber.format(report.violations)} violation(s)`)}`);
177
177
  }
178
178
  }
179
179
  stageSkipped(_stage, reason) {
@@ -184,7 +184,7 @@ export class ConsoleReporter {
184
184
  }
185
185
  }
186
186
  datasetComplete(_dataset, result) {
187
- this.printLine('succeed', `Completed in ${chalk.bold(prettyMilliseconds(Date.now() - this.datasetStartTime))} ${chalk.dim(`(memory: ${formatBytes(result.memoryUsageBytes)} RSS, ${formatBytes(result.heapUsedBytes)} heap)`)}`);
187
+ this.printLine(logSymbols.success, `Completed in ${chalk.bold(prettyMilliseconds(Date.now() - this.datasetStartTime))} ${chalk.dim(`(memory: ${formatBytes(result.memoryUsageBytes)} RSS, ${formatBytes(result.heapUsedBytes)} heap)`)}`);
188
188
  }
189
189
  datasetSkipped(_dataset, reason) {
190
190
  this.printLine(logSymbols.error, `Skipped: ${chalk.red(reason)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lde/pipeline-console-reporter",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Console progress reporter for @lde/pipeline",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/ldelements/lde.git",