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 35b31c7 commit c9dd9e2Copy full SHA for c9dd9e2
templates/cli/lib/client.js.twig
@@ -139,7 +139,7 @@ class Client {
139
140
const warnings = response.headers.get('x-{{ spec.title | lower }}-warning');
141
if (warnings) {
142
- warnings.split(';').forEach((warning) => console.log(`${chalk.yellow.bold("ℹ Warning:")} ${chalk.yellow(warning ?? "")}`));
+ warnings.split(';').forEach((warning) => console.log(`${chalk.yellow.bold("ℹ Warning:")} ${chalk.yellow(warning)}`));
143
}
144
} catch (error) {
145
throw new {{spec.title | caseUcfirst}}Exception(error.message);
0 commit comments