MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / hasExplicitPreviewPort

Function hasExplicitPreviewPort

packages/cli/src/commands/preview.ts:298–300  ·  view source on GitHub ↗
(argv: string[])

Source from the content-addressed store, hash-verified

296}
297
298function hasExplicitPreviewPort(argv: string[]): boolean {
299 return argv.some((arg) => arg === "--port" || arg.startsWith("--port="));
300}
301
302function printSelectionFailure(code: string, message: string, json: boolean): void {
303 if (json) {

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected