hunk.code_window: import logger from 'pnpm-logger'
   const IS_WINDOWS = isWindows()
   export default async function linkAllBins (modules: string, preserveSymlinks: boolean) {
     const pkgDirs = await getPkgDirs(modules)
  
hunk.labels: keep keep keep keep replace keep
hunk.after_edit: export default async function linkAllBins (modules: string, binDir: string, preserveSymlinks: boolean) {
  
hunk.file_path: src/install/linkBins.ts
hunk.type: replace
file: import {PnpmOptions} from '../types'
  import {install, installPkgs} from '../api/install'
  
  export default function (input: string[], opts: PnpmOptions) {
    opts = Object.assign({depth: 0, cacheTTL: 0}, opts)
  
    if (!input || !input.length) {
      return install(opts)
    }
    return installPkgs(input, opts)
  }
  