Skip to content

Fix up shellcheck issues #1642

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

Merged
merged 2 commits into from
Mar 26, 2025
Merged

Fix up shellcheck issues #1642

merged 2 commits into from
Mar 26, 2025

Conversation

bryteise
Copy link
Member

The mechanism used to convert bats tests to something shellcheck can verify caused a large number of failures due to the introduction of testing for if a call is possible. Given the tests aren't called in a normal shell script way, it is best to just ignore this error for bats files.

Also fix an index using '$' unnecessarily.

The mechanism used to convert bats tests to something shellcheck can
verify caused a large number of failures due to the introduction of
testing for if a call is possible. Given the tests aren't called in
a normal shell script way, it is best to just ignore this error for
bats files.

Also fix an index using '$' unnecessarily.

Signed-off-by: William Douglas <william.douglas@intel.com>
Modify the shell check workflow to operate on the same events as the
swupd tests.

Signed-off-by: William Douglas <william.douglas@intel.com>
@bryteise bryteise merged commit 23a9a44 into master Mar 26, 2025
32 checks passed
@bryteise bryteise deleted the shellcheck-fixups branch March 26, 2025 23:55
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.

2 participants