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

chore: remove unnecessary shellcheck disable for SC2154 #2474

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

Henrik66
Copy link
Contributor

@Henrik66 Henrik66 commented Aug 5, 2023

Remove unnecessary shellcheck comments for SC2154 . The current version of shellcheck is smart enough to not require these opt-out comments.

This is a rebase from a PR closed earlier by the stale bot - #2235

@github-actions github-actions bot added test Issues related to testing modules Issue tracker for all modules cifs Issues related to the cifs module rootfs-block Issues related to the rootfs-block module labels Aug 5, 2023
Copy link
Collaborator

@LaszloGombos LaszloGombos left a comment

Choose a reason for hiding this comment

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

Thanks !

@LaszloGombos LaszloGombos added this to the dracut-060 milestone Aug 10, 2023
Copy link
Member

@aafeijoo-suse aafeijoo-suse left a comment

Choose a reason for hiding this comment

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

Remove unnecessary shellcheck comments for SC2154 . The current version of shellcheck is smart enough to not require these opt-out comments.

Nah, it's not so clever, the thing is, it's explicitly disabled in .shellcheckrc. Try commenting out the following line before running shellcheck :)

dracut/.shellcheckrc

Lines 9 to 11 in 1664563

# SC2154: Variable is referenced but not assigned
# https://github.com/koalaman/shellcheck/wiki/SC2154
disable=SC2154

Anyway, this change is good.

@aafeijoo-suse aafeijoo-suse merged commit 0b81e8e into dracutdevs:master Aug 24, 2023
82 of 93 checks passed
@Henrik66 Henrik66 deleted the SC2154 branch August 25, 2023 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cifs Issues related to the cifs module modules Issue tracker for all modules rootfs-block Issues related to the rootfs-block module test Issues related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants