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)
Mon, Nov 11, 4:50 PM
Unknown Object (File)
Sun, Nov 10, 9:00 PM
Unknown Object (File)
Sun, Nov 10, 9:00 PM
Unknown Object (File)
Sun, Nov 10, 8:59 PM
Unknown Object (File)
Mon, Nov 4, 10:56 AM
Unknown Object (File)
Mon, Nov 4, 1:40 AM
Unknown Object (File)
Fri, Nov 1, 9:30 AM
Unknown Object (File)
Fri, Nov 1, 9:30 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #27640)

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

81 ↗(On Diff #27640)

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