MCPcopy Create free account
hub / github.com/vercel/vercel / getPrefix

Function getPrefix

packages/cli/test/dev/utils.ts:125–127  ·  view source on GitHub ↗
(nr: number)

Source from the content-addressed store, hash-verified

123 ).split('\n');
124
125 const getPrefix = (nr: number) => {
126 return nr === 0 ? '╭' : nr === lines.length - 1 ? '╰' : '│';
127 };
128
129 console.log(
130 lines.map((line, index) => ` ${getPrefix(index)} ${line}`).join('\n')

Callers 1

printOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected