MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / getProcessEnvironmentVariable

Function getProcessEnvironmentVariable

shared/desktop-working-directory.ts:1–3  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1function getProcessEnvironmentVariable(name: string) {
2 return process.env[name]
3}
4export function getDesktopWorkingDirectory() {
5 return getProcessEnvironmentVariable('HOWCODE_REPO_ROOT') || process.cwd()
6}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected