MCPcopy
hub / github.com/QwikDev/qwik / attachArg

Function attachArg

packages/qwik/src/cli/utils/run-build-command.ts:341–346  ·  view source on GitHub ↗
(command: string, key: string, value?: string)

Source from the content-addressed store, hash-verified

339}
340
341function attachArg(command: string, key: string, value?: string): string {
342 if (value !== undefined) {
343 return `${command} --${key} ${value}`;
344 }
345 return command;
346}
347
348function isString(s: string | null | undefined): s is string {
349 return typeof s === 'string' && s.trim().length > 0;

Callers 1

runBuildCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…