)]}'
{
  "commit": "f03b40e1d7c3bd98b9fc471d742d3c74070900eb",
  "tree": "8148dd03191c7fa015aa85a4495747fd33a6aab3",
  "parents": [
    "f559de0f48344b1b192db65556a227e92248eb57"
  ],
  "author": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Tue Dec 01 22:44:17 2026 -0800"
  },
  "committer": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Tue Dec 01 23:13:27 2026 -0800"
  },
  "message": "[windows] Use `os.environ.get` in `win_get_environment_variable`\n\nUse `os.environ.get` instead of `os.environ[key]` in both the\nnon-registry shell path and the `fallback` path so missing variables\nreturn `None` quietly instead of raising `KeyError`.\n\nPreviously, the `fallback` lookup raised `KeyError(key)` into the outer\n`except` block when an unset variable (such as `EMSDK_NODE` on initial\n`activate --permanent`) was missing from both the registry and\n`os.environ`. Because `KeyError.args[0]` is `key` rather than `2`, the\n`e.args[0] !\u003d 2` check misidentified it as a registry read failure and\nlogged `Failed to read environment variable`.\n\nSee: #1816\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aee5bfad65556b6e4daf1eb93ed33fb7babe3450",
      "old_mode": 33188,
      "old_path": "emsdk.py",
      "new_id": "b0fe676a64dace6f06770c278b8176672df28c8e",
      "new_mode": 33188,
      "new_path": "emsdk.py"
    }
  ]
}
