@oclif/core
Advanced tools
Comparing version 0.5.40 to 0.5.41
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.41](https://github.com/oclif/core/compare/v0.5.40...v0.5.41) (2021-09-29) | ||
### Bug Fixes | ||
* only show warnings when json is not enabled ([#260](https://github.com/oclif/core/issues/260)) ([0890917](https://github.com/oclif/core/commit/0890917f79c671c4635dc577c6821d544eef3c69)) | ||
### [0.5.40](https://github.com/oclif/core/compare/v0.5.39...v0.5.40) (2021-09-27) | ||
@@ -7,0 +14,0 @@ |
@@ -77,3 +77,3 @@ import { Config } from './config'; | ||
exit(code?: number): void; | ||
warn(input: string | Error): void; | ||
warn(input: string | Error): string | Error; | ||
error(input: string | Error, options: { | ||
@@ -80,0 +80,0 @@ code?: string; |
@@ -71,3 +71,5 @@ "use strict"; | ||
warn(input) { | ||
Errors.warn(input); | ||
if (!this.jsonEnabled()) | ||
Errors.warn(input); | ||
return input; | ||
} | ||
@@ -74,0 +76,0 @@ error(input, options = {}) { |
{ | ||
"name": "@oclif/core", | ||
"description": "base library for oclif CLIs", | ||
"version": "0.5.40", | ||
"version": "0.5.41", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/core/issues", |
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
213965
5251