hunk.code_window:         version: '1.0.0',
         },
       ],
       reason: 'incompatible_engine',
     })
     const reportedTimes = reporter.withArgs(logMatcher).callCount
     t.equal(reportedTimes, 1, 'skipping optional dependency is logged')
   })
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:     reason: 'unsupported_platform',
  
hunk.file_path: test/install/optionalDependencies.ts
hunk.type: replace
file: import BreakingChangeError from './BreakingChangeError'
  import ErrorRelatedSources from './ErrorRelatedSources'
  
  export type ModulesBreakingChangeErrorOptions = ErrorRelatedSources & {
    modulesPath: string,
  }
  
  export default class ModulesBreakingChangeError extends BreakingChangeError {
    public modulesPath: string
    constructor (opts: ModulesBreakingChangeErrorOptions) {
      super({
        additionalInformation: opts.additionalInformation,
        code: 'MODULES_BREAKING_CHANGE',
        message: `The node_modules structure at ${opts.modulesPath} was changed. Try running the same command with the --force parameter.`,
        relatedIssue: opts.relatedIssue,
        relatedPR: opts.relatedPR,
      })
      this.modulesPath = opts.modulesPath
    }
  }
  