hunk.code_window:         await rimraf(target)
         }
         logStatus({status: 'download-queued', pkg: opts.loggedPkg})
         await fetchResolution(opts.resolution, targetStage, {got: opts.got, loggedPkg: opts.loggedPkg})
         // fs.rename(oldPath, newPath) is an atomic operation, so we do it at the
         // end
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       await fetchResolution(opts.resolution, targetStage, {
           got: opts.got,
           loggedPkg: opts.loggedPkg,
           linkLocal: opts.linkLocal,
         })
  
hunk.file_path: src/install/fetch.ts
hunk.type: replace
file: import {PnpmOptions} from '../types'
  import {sync as runScriptSync} from '../runScript'
  
  export default function (input: string[], opts: PnpmOptions) {
    return runScriptSync('npm', ['run'].concat(input), {
      cwd: process.cwd(),
      stdio: 'inherit',
    })
  }
  