Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-coauthors: fix syntax error #19

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

deadpyxel
Copy link
Contributor

@deadpyxel deadpyxel commented Oct 30, 2023

Description

When running the trigger on an environment configured with the latest version of Ruby you would get a syntax error with an exit code 1.

Motivation and Context

We are not sure which version will be installed on the user's machine, so maybe we should err on the side of using the syntax from the latest version.

How Has This Been Tested?

I validated this locally and tested with some pairing sessions, seems to work fine for my case

Additional Context

I am running all this inside MacOS, with my personal environment configured to have latest version(ruby 3.2.2 (2023-03-30 revision e51014f9c0) of ruby as global default (using asdf to manage).

When running the trigger on an environment configured with the latest
version of Ruby you would get a syntax error with an exit code 1.
@deadpyxel deadpyxel marked this pull request as ready for review October 30, 2023 15:10
@github-actions
Copy link

Thanks for your contribution, @deadpyxel! 🎉

We've done some automated sense checks on your trigger, git-coauthors. All looks great! Someone from Tuple will now manually review your trigger's code and get back to you.

@mcasper
Copy link
Contributor

mcasper commented Oct 30, 2023

Thanks @deadpyxel, great catch!

@mcasper mcasper merged commit 12643fa into tupleapp:main Oct 30, 2023
@deadpyxel deadpyxel deleted the fix-goauthors-trigger branch October 30, 2023 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants