Skip to content

Commit

Permalink
[rules_ios] Change to_json to json.encode()
Browse files Browse the repository at this point in the history
This was deprecated in bazel 8, so use the new api
  • Loading branch information
nataliejameson committed Jan 10, 2025
1 parent 6f8ea4a commit de59db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/framework/vfs_overlay.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def make_vfsoverlay(ctx, hdrs, module_map, private_hdrs, has_swift, swiftmodules
"contents": roots,
}],
}
vfsoverlay_yaml = struct(**vfsoverlay_object).to_json()
vfsoverlay_yaml = json.encode(vfsoverlay_object)
ctx.actions.write(
content = vfsoverlay_yaml,
output = output,
Expand Down

0 comments on commit de59db8

Please sign in to comment.