Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getShell
Function
getShell
npm_modules/cli/src/utils/cliUtils.ts:101–103 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
99
}
100
101
function
getShell(): string {
102
return
process.env[
'SHELL'
] ??
'/bin/bash'
;
103
}
104
105
export
function
checkCommandExists(command: string): boolean {
106
try {
Callers
2
runCliCommand
Function · 0.85
spawnCliCommand
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected