Commit 6188d19
fix(tests): grep -c count duplication on zero matches (#4)
* feat: competitive upgrade - tests, CI, examples, professional README
- Add 61-test suite covering config, helpers, locks, categories, schema, language
- Add GitHub Actions CI with shellcheck, tests, and language enforcement
- Rewrite README with architecture diagram, competitor comparison, FAQ
- Add examples directory with sample report, scheduling config, multi-repo setup
- Add CHANGELOG.md tracking all versions
- All code verified English-only
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: resolve CI failures (shellcheck, language check)
- Fix SC2155: declare and assign separately in worker.sh, coordinator.sh
- Fix SC2034: suppress unused-var warnings in config.sh (sourced file)
- Fix language check: use byte-level grep to avoid self-detection in tests
- Rename unused read vars with _ prefix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(tests): grep -c already outputs 0 on no match, || echo "0" duplicated it
The shellcheck test captured "0\n0" instead of "0" because grep -c
outputs the count (0) even on exit code 1, then || echo "0" added
a second zero. Changed to || true.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Sw2Ti3a4Ad8U6JuAyNib1
---------
Co-authored-by: Frederik <fvdh@gmx.de>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2ca6206 commit 6188d19
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
0 commit comments