* Prepends trusted local bin directories to a PATH value.
( cwd: string, pathValue = '' )
| 148 | * Prepends trusted local bin directories to a PATH value. |
| 149 | */ |
| 150 | async function prependLocalBinsToPath( |
| 151 | cwd: string, |
| 152 | pathValue = '' |
| 153 | ): Promise<string> { |
| 154 | return prependPathEntries( |
| 155 | pathValue, |
| 156 | (await getLocalBinSearch(cwd)).directories |
| 157 | ); |
| 158 | } |
no test coverage detected