Page MenuHomePhabricator

[shellcheck] Disable SC2317 in comm-dev.sh
ClosedPublic

Authored by bartek on Jun 12 2023, 3:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 3:48 AM
Unknown Object (File)
Wed, Dec 11, 3:48 AM
Unknown Object (File)
Wed, Dec 11, 3:48 AM
Unknown Object (File)
Wed, Dec 4, 3:29 PM
Unknown Object (File)
Wed, Dec 4, 2:32 AM
Unknown Object (File)
Sat, Nov 23, 12:05 PM
Unknown Object (File)
Nov 15 2024, 12:53 AM
Unknown Object (File)
Nov 15 2024, 12:40 AM
Subscribers

Details

Summary

Fixes CI shellcheck failure.
Shellcheck 0.9.0 has been released and it has a new check SC2317 enabled by default
which caused CI to fail. This check is not available in 0.8.0 which is the version
we use locally.

Test Plan

Ensured both shellcheck 0.8.0 and 0.9.0 pass locally. Ran CI.

Diff Detail

Repository
rCOMM Comm
Branch
barthap/shellcheck-fix
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Jun 12 2023, 7:15 AM
jon requested changes to this revision.Jun 12 2023, 7:17 AM
jon added inline comments.
scripts/comm-dev.sh
56

actually, i think we should just remove these exit 1's.

81

actually, i think we should just remove these exit 1's.

This revision now requires changes to proceed.Jun 12 2023, 7:17 AM
This revision was not accepted when it landed; it landed in state Needs Revision.Jun 12 2023, 7:18 AM
This revision was automatically updated to reflect the committed changes.

Ouch, sorry, landed this ASAP to unblock CI. Will apply your suggestion in another diff

Edit: D8184