hunk.code_window:       await clone(resolution.repo, resolution.commitId, target)
         break;
       case 'directory': {
         if (resolution.link) {
           await mkdirp(path.dirname(target))
           await linkDir(resolution.root, target)
         } else {
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       if (opts.linkLocal) {
  
hunk.file_path: src/install/fetchResolution.ts
hunk.type: replace
file: import defaultReporter from 'pnpm-default-reporter'
  import streamParser from '../logging/streamParser'
  import bole = require('bole')
  
  export type ReporterType = 'default' | 'ndjson'
  
  export default (reporterType: ReporterType) => {
      switch (reporterType) {
          case 'default':
              defaultReporter(streamParser)
              return
          case 'ndjson':
              bole.output([
                  {
                      level: 'debug', stream: process.stdout
                  },
              ])
              return
      }
  }
  