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

Function envToString

packages/cli/scripts/build.mjs:35–40  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

33}
34
35function envToString(key) {
36 const value = process.env[key];
37 if (value) {
38 return JSON.stringify(value);
39 }
40}
41
42// Read the secrets from GitHub Actions and generate a file.
43// During local development, these secrets will be empty.

Callers 1

createConstantsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected