@percy/cli-command
Advanced tools
Comparing version 1.0.0-beta.29 to 1.0.0-beta.30
@@ -16,2 +16,4 @@ "use strict"; | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
// The PercyCommand class that all Percy CLI commands should extend | ||
@@ -21,2 +23,8 @@ // from. Provides common #init() and #catch() methods and provides other methods | ||
class PercyCommand extends _command.default { | ||
constructor(...args) { | ||
super(...args); | ||
_defineProperty(this, "log", (0, _logger.default)('cli:command')); | ||
} | ||
// Initialize flags, args, the loglevel, and attach process handlers to allow | ||
@@ -51,4 +59,3 @@ // commands to seemlessly cleanup on interupt or termination | ||
_logger.default.error(err); | ||
this.log.error(err); | ||
this.exit(1); | ||
@@ -55,0 +62,0 @@ } |
{ | ||
"name": "@percy/cli-command", | ||
"version": "1.0.0-beta.29", | ||
"version": "1.0.0-beta.30", | ||
"license": "MIT", | ||
@@ -28,6 +28,6 @@ "main": "dist/index.js", | ||
"@oclif/plugin-help": "^3.2.0", | ||
"@percy/config": "^1.0.0-beta.29", | ||
"@percy/logger": "^1.0.0-beta.29" | ||
"@percy/config": "^1.0.0-beta.30", | ||
"@percy/logger": "^1.0.0-beta.30" | ||
}, | ||
"gitHead": "d8ece55981a5b9ef52abda65783c2aa874ac87e6" | ||
"gitHead": "584a401d8cb349a90d0eea964c6ac2a3682591f1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10296
175
Updated@percy/config@^1.0.0-beta.30
Updated@percy/logger@^1.0.0-beta.30