We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee6a34 commit 4b3d5bdCopy full SHA for 4b3d5bd
scripts/generate-docs-examples.js
@@ -91,6 +91,7 @@ ${source.trim()}
91
}
92
93
const options = minimist(process.argv.slice(2), {
94
+ boolean: ['debug'],
95
string: ['version'],
96
default: {
97
version: 'master'
@@ -102,7 +103,7 @@ generate(options.version)
102
103
.catch(err => log.fail(err.message))
104
.finally(() => {
105
const keys = Object.keys(failures)
- if (keys.length > 0) {
106
+ if (keys.length > 0 && options.debug) {
107
let message = 'Some examples failed to generate:\n\n'
108
for (const key of keys) {
109
message += `${key}: ${failures[key]}\n`
0 commit comments