Comparing version 2.1.2 to 2.1.3
@@ -113,3 +113,3 @@ "use strict"; | ||
const examples = typeof commandClass.usage.examples !== `undefined` | ||
? commandClass.usage.examples.map(([label, cli]) => [format_1.formatMarkdownish(label, false), format_1.formatMarkdownish(cli, false)]) | ||
? commandClass.usage.examples.map(([label, cli]) => [format_1.formatMarkdownish(label, false), cli.replace(/\$0/g, this.binaryName)]) | ||
: undefined; | ||
@@ -209,3 +209,3 @@ data.push({ path, usage, category, description, details, examples }); | ||
.replace(/^/m, ` ${chalk_1.default.bold(prefix)}`) | ||
.replace(/\$0/m, this.binaryName) | ||
.replace(/\$0/g, this.binaryName) | ||
+ `\n`; | ||
@@ -212,0 +212,0 @@ } |
{ | ||
"name": "clipanion", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"main": "lib/advanced", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
73844