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
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/scripts/test_service.sh | ||
---|---|---|
6 | 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 | double quote to prevent globbing/word-splitting |
services/scripts/test_service.sh | ||
---|---|---|
8 | Should we address this single-bracket usage? Or is it addressed somewhere else? |