)]}'
{
  "commit": "d9187fe34c50ecc796058e91e2fe751b59eab329",
  "tree": "58e89e9b23d4a4d07d73da75277c844b7979461e",
  "parents": [
    "a42b5de115d2a05cea249bbbb68525747d34ea84"
  ],
  "author": {
    "name": "Hana",
    "email": "hyangah@gmail.com",
    "time": "Wed Sep 30 10:55:47 2020 -0400"
  },
  "committer": {
    "name": "Hyang-Ah Hana Kim",
    "email": "hyangah@gmail.com",
    "time": "Wed Sep 30 18:27:50 2020 +0000"
  },
  "message": "[release] src/goInstallTools.ts: add GOROOT/bin to PATH when it wasn\u0027t found from PATH\n\nThe fix for golang/vscode-go#679 changed to prepend GOROOT/bin to PATH or Path\nonly if users explicitly configured to use go different from what\u0027s found from PATH.\nI forgot the case where go was not found from PATH and the extension picked up\na common default go installation directory. (C:\\Go\\bin or /usr/local/go/bin).\n\nThis change rewrote the fix - rewrote getBinPath to return why it chose the\npath as well. Then, we mutate the PATH env var if getBinPath picked\ngo with a reason other than it\u0027s in PATH (why \u003d\u003d\u003d \u0027path\u0027).\n\nSince getBinPath and getBinPathWithPreferredGopathGoroot are\nused in many places, this CL introduces getBinPathWithExplanation and\ngetBinPath wraps it.\n\nUpdates golang/vscode-go#679\nFixes golang/vscode-go#713\n\nChange-Id: Ie00612fcef2cf4c2a187a263da04b342182c030b\nReviewed-on: https://go-review.googlesource.com/c/vscode-go/+/258316\nTrust: Hyang-Ah Hana Kim \u003chyangah@gmail.com\u003e\nRun-TryBot: Hyang-Ah Hana Kim \u003chyangah@gmail.com\u003e\nTryBot-Result: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Suzy Mueller \u003csuzmue@golang.org\u003e\n(cherry picked from commit 9bf9d642c76369144bc85323622240a121868454)\nReviewed-on: https://go-review.googlesource.com/c/vscode-go/+/258519\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "96949073d6f41a3c61a238e1e888a371134ec625",
      "old_mode": 33188,
      "old_path": "src/goInstallTools.ts",
      "new_id": "759cd3be3926814449be3bd99d072681af82101e",
      "new_mode": 33188,
      "new_path": "src/goInstallTools.ts"
    },
    {
      "type": "modify",
      "old_id": "fa94f7bbb92908f179c8dfea30cd8664a5b4fe40",
      "old_mode": 33188,
      "old_path": "src/util.ts",
      "new_id": "ee361b438f17678336be62f2f0849c17a35c37b6",
      "new_mode": 33188,
      "new_path": "src/util.ts"
    },
    {
      "type": "modify",
      "old_id": "ab3be8f74cffeeeccd86ac386ea8761e6dadbe75",
      "old_mode": 33188,
      "old_path": "src/utils/pathUtils.ts",
      "new_id": "3f1f59a39fc3c0fb905599ece65e671fb6bdeb3f",
      "new_mode": 33188,
      "new_path": "src/utils/pathUtils.ts"
    }
  ]
}
