(shell: Pick<Shell, "dieOnErrors">)
| 168 | } |
| 169 | |
| 170 | export function script(shell: Pick<Shell, "dieOnErrors">): Script { |
| 171 | const fnmDir = path.join(testTmpDir(), "fnm") |
| 172 | rmSync(join(fnmDir, "aliases"), { recursive: true, force: true }) |
| 173 | return new Script({ fnmDir }, shell.dieOnErrors ? [shell.dieOnErrors()] : []) |
| 174 | } |
| 175 | |
| 176 | function removeAllFnmEnvVars(obj: NodeJS.ProcessEnv): NodeJS.ProcessEnv { |
| 177 | const result: NodeJS.ProcessEnv = {} |
no test coverage detected