Skip to content

Commit

Permalink
Update internal/bzlmod/go_mod.bzl
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
  • Loading branch information
stefanpenner and fmeum authored Apr 16, 2024
1 parent 7a7b097 commit ae2935a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/bzlmod/go_mod.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def sums_from_go_work(module_ctx, go_work_label):
go_work_path = module_ctx.path(go_work_label)

# 2. use the go_work_path to create a path for the heisen go.work.sum file
maybe_go_work_sum_path = go_work_path.get_child("../go.work.sum")
maybe_go_work_sum_path = go_work_path.dirname.get_child("go.work.sum")

# 3. check for its existence
if maybe_go_work_sum_path.exists:
Expand Down

0 comments on commit ae2935a

Please sign in to comment.