(newPath: string)
| 1045 | }; |
| 1046 | |
| 1047 | const alreadyInPath = (newPath: string) => { |
| 1048 | const oldPath = env.PATH ?? ''; |
| 1049 | return oldPath.split(path.delimiter).includes(newPath); |
| 1050 | }; |
| 1051 | |
| 1052 | if (newPath && !alreadyInPath(newPath)) { |
| 1053 | // Ensure that the binaries of the detected package manager are at the |
no test coverage detected