@oclif/core
Advanced tools
Comparing version 4.0.19 to 4.0.20
@@ -7,12 +7,12 @@ "use strict"; | ||
if (!str && args) { | ||
process.stdout.write((0, node_util_1.format)(...args) + '\n'); | ||
console.log((0, node_util_1.format)(...args)); | ||
} | ||
else if (!str) { | ||
process.stdout.write('\n'); | ||
console.log(); | ||
} | ||
else if (typeof str === 'string') { | ||
process.stdout.write((str && (0, node_util_1.format)(str, ...args)) + '\n'); | ||
console.log((0, node_util_1.format)(str, ...args)); | ||
} | ||
else { | ||
process.stdout.write((0, node_util_1.format)(...str, ...args) + '\n'); | ||
console.log((0, node_util_1.format)(...str, ...args)); | ||
} | ||
@@ -23,14 +23,14 @@ }; | ||
if (!str && args) { | ||
process.stderr.write((0, node_util_1.format)(...args) + '\n'); | ||
console.error((0, node_util_1.format)(...args)); | ||
} | ||
else if (!str) { | ||
process.stderr.write('\n'); | ||
console.error(); | ||
} | ||
else if (typeof str === 'string') { | ||
process.stderr.write((str && (0, node_util_1.format)(str, ...args)) + '\n'); | ||
console.error((0, node_util_1.format)(str, ...args)); | ||
} | ||
else { | ||
process.stderr.write((0, node_util_1.format)(...str, ...args) + '\n'); | ||
console.error((0, node_util_1.format)(...str, ...args)); | ||
} | ||
}; | ||
exports.stderr = stderr; |
{ | ||
"name": "@oclif/core", | ||
"description": "base library for oclif CLIs", | ||
"version": "4.0.19", | ||
"version": "4.0.20", | ||
"author": "Salesforce", | ||
@@ -55,3 +55,3 @@ "bugs": "https://github.com/oclif/core/issues", | ||
"eslint-config-prettier": "^9.1.0", | ||
"husky": "^9.1.4", | ||
"husky": "^9.1.5", | ||
"lint-staged": "^15", | ||
@@ -58,0 +58,0 @@ "madge": "^6.1.0", |
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
399774