trigger.dev
Version:
A Command-Line Interface for Trigger.dev projects
9 lines • 337 B
JavaScript
/** Build the import-env-vars body. Omit `isSecret` unless `--secret` so an existing secret is not demoted. */
export function buildEnvSetImportBody(name, value, secret) {
return {
variables: { [name]: value },
override: true,
...(secret ? { isSecret: true } : {}),
};
}
//# sourceMappingURL=envSet.js.map