Relevant Linear issue here. More details in inline comments below.
Details
Details
- Reviewers
ashoat atul tomek - Commits
- rCOMM6c4bb54796f1: [services] Clean up `test_service.sh`
ShellCheck, close reading.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
services/scripts/test_service.sh | ||
---|---|---|
6 ↗ | (On Diff #14204) | Not that it really matters in this particular instance since the command ends right after the variable is set, but a here string can be used here instead of the echo + pipe. In my opinion it looks cleaner and if the script did go further, it could run into some issues using echo. |
18–19 ↗ | (On Diff #14204) | double quote to prevent globbing/word-splitting |
services/scripts/test_service.sh | ||
---|---|---|
8 ↗ | (On Diff #14204) | Should we address this single-bracket usage? Or is it addressed somewhere else? |