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
Lint
Lint Not Applicable
Unit
Tests Not Applicable