diff --git a/src/index.ts b/src/index.ts index 6f9e663..18e35e6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -222,8 +222,12 @@ const mise = async (args: string[]): Promise => 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')