MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / needsQuoting

Function needsQuoting

dev/local/env-sync/parse.ts:318–326  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

316 return `"${escaped}"`;
317}
318
319function generateDevVars(keys: Map<string, string>): string {
320 const header = [
321 '# Auto-generated by dev/local/env-sync.ts — do not edit manually',
322 '# Source: .env.local + .dev.vars.example annotations',
323 `# Generated: ${new Date().toISOString()}`,
324 '',
325 ].join('\n');
326
327 const lines: string[] = [];
328 for (const [key, value] of keys) {
329 lines.push(`${key}=${formatValue(value)}`);

Callers 1

formatValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected