Page MenuHomePhabricator

[linter] Work around a shellcheck issue
ClosedPublic

Authored by Fabien on Apr 24 2023, 08:45.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC3f9a4578d30a: [linter] Work around a shellcheck issue
Summary

Shellcheck version 0.9.0 is failing on the verify.sh script with the following error:

shellcheck: (Array.!): undefined array element

The issue has been narrowed down to the $? output check in the if/else branch, and this diff is a fix with no change in behavior.

Test Plan

Check the code is stricly equivalent.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_shellcheck_verify
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23407
Build 46433: Build Diff
Build 46432: arc lint + arc unit