Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/formkit/formkit
/ getGitUser
Function
getGitUser
packages/cli/src/utils.ts:33–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
32
// Async function to get the Git user name and email
33
export
const
getGitUser =
async
() => {
34
const
{ stdout: name } =
await
execAsync(
'git config --get user.name'
)
35
return
name.trim()
36
}
Callers
3
customizePackageJson
Function · 0.90
writeLicense
Function · 0.90
updateMeta
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected