Skip to content

Commit

Permalink
fix: typo in gu post-install actions
Browse files Browse the repository at this point in the history
- fix: `startsWith` should be `startswith`
- test: update `components-ce` test to include component usage

Thank you to @mantasindrasius!

Co-authored-by: Mantas Indrašius <mantasi@wix.com>
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon and mantasindrasius committed Sep 4, 2023
1 parent 583c74b commit 92bb26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/graalvm_bindist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _graal_postinstall_actions(ctx, os):
cmd = _graal_updater_path(ctx, os)
if ctx.attr.setup_actions and len(ctx.attr.setup_actions) > 0:
for action in ctx.attr.setup_actions:
if not action.startsWith("gu "):
if not action.startswith("gu "):
fail("GraalVM setup action did not start with 'gu'. Please only run GraalVM updater commands.")

action_cmd = action.replace("gu ", "").split(" ")
Expand Down

0 comments on commit 92bb26a

Please sign in to comment.