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 6d13e05 commit a228de3Copy full SHA for a228de3
generators/bikeshed.ts
@@ -199,7 +199,8 @@ async function invokeBikeshed(
199
const generateSpec = async (input: string, params: URLSearchParams) => {
200
const metadataOverrides: string[] = [];
201
for (const [key, value] of params.entries()) {
202
- if (key.startsWith("md-")) metadataOverrides.push(`--${key}=${value}`);
+ if (key.startsWith("md-") && value)
203
+ metadataOverrides.push(`--${key}=${value}`);
204
}
205
return invokeBikeshed(
206
input,
0 commit comments