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, May 13, 10:29 AM
Unknown Object (File)
Apr 18 2024, 1:56 AM
Unknown Object (File)
Apr 18 2024, 1:56 AM
Unknown Object (File)
Apr 18 2024, 1:56 AM
Unknown Object (File)
Apr 18 2024, 1:52 AM
Unknown Object (File)
Mar 5 2024, 5:53 AM
Unknown Object (File)
Mar 5 2024, 5:53 AM
Unknown Object (File)
Mar 5 2024, 5:53 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