hunk.code_window:     .map(dep => ctx.storeJson.dependencies[ctx.root][dep])
       .filter(pkgId => !!pkgId)
     const uninstalledPkgs = tryUninstall(pkgIds.slice(), ctx.storeJson, ctx.root)
     uninstalledPkgs.forEach(uninstalledPkg => removeBins(uninstalledPkg, ctx.store, ctx.root))
     if (ctx.storeJson.dependencies[ctx.root]) {
       pkgsToUninstall.forEach(dep => {
         delete ctx.storeJson.dependencies[ctx.root][dep]
       })
       if (!Object.keys(ctx.storeJson.dependencies[ctx.root]).length) {
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:   await Promise.all(
       uninstalledPkgs.map(uninstalledPkg => removeBins(uninstalledPkg, ctx.store, ctx.root))
     )
  
hunk.file_path: src/api/uninstall.ts
hunk.type: replace
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
  