chore: pretty
Some checks failed
Check dist/ / Check dist/ (push) Successful in 27s
Continuous Integration / TypeScript Tests (push) Successful in 20s
build-test / build (push) Successful in 24s
build-test / test (ubuntu-latest) (push) Successful in 20s
build-test / specific_version (push) Successful in 8s
CodeQL / Analyze (push) Failing after 3m10s
build-test / test (macos-latest) (push) Has been cancelled
build-test / test (windows-latest) (push) Has been cancelled

This commit is contained in:
Jared Allard 2025-01-25 21:56:55 -08:00
parent 0b1d5d721e
commit 85ceb0717e
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U

View file

@ -222,8 +222,12 @@ const mise = async (args: string[]): Promise<number> =>
core.getInput('install_dir') ||
process.cwd()
const env = core.isDebug()
? Object.fromEntries(Object.entries(process.env).filter(([, v]) => v !== undefined)) as { [key: string]: string }
: Object.fromEntries(Object.entries(process.env).filter(([, v]) => v !== undefined)) as { [key: string]: string }
? (Object.fromEntries(
Object.entries(process.env).filter(([, v]) => v !== undefined)
) as { [key: string]: string })
: (Object.fromEntries(
Object.entries(process.env).filter(([, v]) => v !== undefined)
) as { [key: string]: string })
if (core.getInput('github_token')) {
env['GITHUB_TOKEN'] = core.getInput('github_token')