)]}'
{
  "commit": "732e7108ee44f9e91fc0c1d5ced2fddf82df7c50",
  "tree": "407ccc2299e3915e183dacdcf26c330ca64f2398",
  "parents": [
    "5675c3df302c005ae6a8cad0ce4a1d13b23a3700"
  ],
  "author": {
    "name": "Patrick Balestra",
    "email": "me@patrickbalestra.com",
    "time": "Tue Mar 31 07:48:20 2020 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Mar 31 07:49:37 2020 -0700"
  },
  "message": "[Docs] Remove to_list that causes failure in example code\n\nRunning the example (`bazel build //MyExample:example --aspects print.bzl%print_aspect`) in the docs threw the following error:\n\n```\nTraceback (most recent call last):\n\tFile \"/Users/patrickb/.../BUILD\", line 3\n\t\t//:print.bzl%print_aspect(...)\n\tFile \"/Users/patrickb/.../print.bzl\", line 6, in _print_aspect_impl\n\t\tctx.rule.attr.srcs.to_list\n\u0027list\u0027 value has no field or method \u0027to_list\u0027\n```\n\nRemoving the `to_list()` fixed it for me since `srcs` is already a `list`.\n\nCloses #11046.\n\nPiperOrigin-RevId: 303963682\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "80f8f46db80f8cfc235e30b4008314d06b5bdb6b",
      "old_mode": 33188,
      "old_path": "site/docs/skylark/aspects.md",
      "new_id": "a94ad4eac8cb36fcb0d7e2c67c0623a873498e8f",
      "new_mode": 33188,
      "new_path": "site/docs/skylark/aspects.md"
    }
  ]
}
