hunk.code_window:   const packageJsonPath = path.join(modules, name, 'package.json')
     try {
       const content = await fs.readFile(packageJsonPath)
       const pkgJson = JSON.parse(content)
       return verify(spec, pkgJson)
     } catch (err) {
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:     const stat = await fs.lstat(path.join(modules, name))
       if (stat.isDirectory()) {
         return true
       }
  
hunk.file_path: src/install/isAvailable.ts
hunk.type: add
file: #!/usr/bin/env sh
  if [ "x$npm_config_node_gyp" = "x" ]; then
    node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@"
  else
    "$npm_config_node_gyp" "$@"
  fi
  