Skip to content

hijack.sh: properly disable shellcheck on fake logfile=$logfile #1020

Merged
fredoh9 merged 1 commit intothesofproject:mainfrom
marc-hb:disable-logfile-shellcheck
Apr 7, 2023
Merged

hijack.sh: properly disable shellcheck on fake logfile=$logfile #1020
fredoh9 merged 1 commit intothesofproject:mainfrom
marc-hb:disable-logfile-shellcheck

Conversation

@marc-hb
Copy link
Copy Markdown
Collaborator

@marc-hb marc-hb commented Apr 7, 2023

Fixes warning found in
https://github.com/thesofproject/sof-test/actions/runs/4635603962/jobs/8202801248?pr=1018 testing PR #1018

See inline comments. Fixes commit 0ccb4c8 ("hijack.sh: more generic way to disable unknown $logfile shellcheck")

Different shellcheck versions may warn about this fake definition differently but life is too short to compare them, just disable both SC2154 and SC2269

…ition

Fixes warning found in
https://github.com/thesofproject/sof-test/actions/runs/4635603962/jobs/8202801248?pr=1018
testing PR thesofproject#1018

See inline comments. Fixes commit 0ccb4c8 ("hijack.sh: more
generic way to disable unknown $logfile shellcheck")

Different shellcheck versions may warn about this fake definition
differently but life is too short to compare them, just disable both
SC2154 and SC2269

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb marc-hb marked this pull request as ready for review April 7, 2023 17:26
@marc-hb marc-hb requested a review from a team as a code owner April 7, 2023 17:26
Copy link
Copy Markdown
Contributor

@fredoh9 fredoh9 left a comment

Choose a reason for hiding this comment

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

thank you for the update

@fredoh9 fredoh9 merged commit eb981e2 into thesofproject:main Apr 7, 2023
@marc-hb marc-hb deleted the disable-logfile-shellcheck branch July 6, 2023 00:35
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