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

Find sorbet/config removal #89

Merged
merged 2 commits into from
Jun 3, 2021
Merged

Find sorbet/config removal #89

merged 2 commits into from
Jun 3, 2021

Conversation

Morriar
Copy link
Collaborator

@Morriar Morriar commented Jun 3, 2021

Main change: Add sorbet_removal_commit method so one can find when the sorbet/config was removed.

Side change: Return nil if no sorbet_intro_commit was found. The git log command can return the exit code 0 while nothing matches the search. We add a check to ensure we return nil is the output is empty.

Morriar added 2 commits June 3, 2021 13:30
The git log command can return the exit code 0 while nothing matches the search.
We add a check to ensure we return `nil` is the output is empty.

Signed-off-by: Alexandre Terrasa <[email protected]>
So we can find when the `sorbet/config` was removed.

Signed-off-by: Alexandre Terrasa <[email protected]>
@Morriar Morriar requested a review from a team June 3, 2021 17:33
@Morriar Morriar merged commit c1d3e96 into master Jun 3, 2021
@Morriar Morriar deleted the at-config-commit branch June 3, 2021 22:17
@shopify-shipit shopify-shipit bot temporarily deployed to production July 28, 2021 15:30 Inactive
@Morriar Morriar added the enhancement New feature or request label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants