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

fix: unreachable code in installer.sh template #345

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

Sharparam
Copy link
Contributor

shellcheck rule SC2317:
https://www.shellcheck.net/wiki/SC2317

This was introduced in shellcheck 0.9.0 which explains why it wasn't seen in CI because it uses shellcheck 0.8.0 (because that's what's packaged in Ubuntu 22.04).

Fixes #344 (issue also has some more shellcheck details)

Incidentally this PR also includes some whitespace cleanup that my editor decided to perform. Let me know if that is undesired and I'll revert those!

Also, I'm not sure what assertion_line is or why it was removed in the updated insta snapshots?

shellcheck rule SC2317:
https://www.shellcheck.net/wiki/SC2317

This was introduced in shellcheck 0.9.0 which explains why it wasn't
seen in CI because it uses shellcheck 0.8.0 (because that's what's
packaged in Ubuntu 22.04).

Fixes axodotdev#344
Copy link
Contributor

@Gankra Gankra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace cleanups appreciated (I had whitespace auto-removal disabled in my editor for a bit due to some policies on other things I worked on, I've since added it back)

also the assertion_line thing is just a weird artifact from cargo-insta making a change to how they manage snapshots, so those lines flicker in and out of existence based on which version of the CLI someone has installed iirc (so it's fine).

@Gankra Gankra merged commit b6e6b0c into axodotdev:main Aug 21, 2023
@Sharparam Sharparam deleted the fix/shellsheck-errors branch August 21, 2023 19:12
@ashleygwilliams ashleygwilliams added this to the 0.2.0 milestone Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Several tests fail due to shellcheck errors
3 participants