Skip to content

Fix ShellCheck warning in build scripts - #756

Merged
dennisdoomen merged 1 commit into
Fallout-build:developfrom
Kielek:shell-fixes
Nov 21, 2026
Merged

dennisdoomen merged 1 commit into
Fallout-build:developfrom
Kielek:shell-fixes

Conversation

@Kielek

@Kielek Kielek commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #757

https://github.com/signalfx/splunk-otel-dotnet/blob/6cca9ce41ba6e843667b08febc2ea059637d8655/.github/workflows/shellcheck.yml executes ShellCheck script.

It detected

    export DOTNET_EXE="$(command -v dotnet)"
           ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values.

While working on nuke--->fallout migration under signalfx/splunk-otel-dotnet#987

Propagating changes also here, to avoid similar issues in the future.

@Kielek
Kielek requested a review from a team as a code owner November 18, 2026 09:00
@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

Hi @Kielek ,
do you mind raising a bug and giving a bit more context to this?
What is your ShellCheck script doing? Why i it complaining?

Thanks,
Chris

@Kielek

Kielek commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Sure, #757. It is pretty detailed, AI assisted.

@ChrisonSimtian ChrisonSimtian self-assigned this Nov 18, 2026
@ChrisonSimtian ChrisonSimtian added bug Something isn't working security Security/critical fix (eligible for legacy release/v10 backport). and removed bug Something isn't working labels Nov 18, 2026
@dennisdoomen dennisdoomen added the release/Stable Targets the current/stable release label Nov 21, 2026
@dennisdoomen
dennisdoomen merged commit ec36907 into Fallout-build:develop Nov 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/Stable Targets the current/stable release security Security/critical fix (eligible for legacy release/v10 backport).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fallout build scripts trigger ShellCheck SC2155

3 participants