hunk.code_window:     t.end()
     }
   })
   test('throw error if --shared-workspace-shrinkwrap is used with --global', async (t) => {
     try {
       await getConfig({
         cliArgs: {
           'global': true,
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit: test('throw error if --shared-workspace-lockfile is used with --global', async (t) => {
  
hunk.file_path: packages/config/test/index.ts
hunk.type: replace
file: {
    "name": "@pnpm/filter-lockfile",
    "version": "2.0.1",
    "description": "Filters a lockfile",
    "main": "lib/index.js",
    "typings": "lib/index.d.ts",
    "engines": {
      "node": ">=10"
    },
    "files": [
      "lib/"
    ],
    "scripts": {
      "lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
      "test": "pnpm run tsc && pnpm run lint && ts-node test --type-check",
      "tsc": "rimraf lib && tsc",
      "prepublishOnly": "pnpm run tsc"
    },
    "repository": "https://github.com/pnpm/pnpm/blob/master/packages/filter-lockfile",
    "keywords": [
      "pnpm",
      "shrinkwrap",
      "lockfile"
    ],
    "author": {
      "name": "Zoltan Kochan",
      "email": "z@kochan.io",
      "url": "https://www.kochan.io"
    },
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/pnpm/pnpm/issues"
    },
    "homepage": "https://github.com/pnpm/pnpm/blob/master/packages/filter-lockfile#readme",
    "peerDependencies": {
      "@pnpm/logger": "^3.1.0"
    },
    "devDependencies": {
      "@pnpm/filter-lockfile": "link:",
      "@pnpm/logger": "3.1.0",
      "@types/ramda": "0.26.29",
      "rimraf": "3.0.0",
      "tape": "4.11.0",
      "tempy": "0.3.0",
      "write-yaml-file": "3.0.1",
      "yaml-tag": "1.1.0"
    },
    "dependencies": {
      "@pnpm/constants": "workspace:2.0.0",
      "@pnpm/error": "workspace:1.0.0",
      "@pnpm/lockfile-types": "workspace:1.1.0",
      "@pnpm/lockfile-utils": "workspace:2.0.0",
      "@pnpm/package-is-installable": "workspace:3.0.0",
      "@pnpm/types": "workspace:4.0.0",
      "dependency-path": "workspace:4.0.0",
      "ramda": "0.26.1"
    }
  }
  