|
Ran
|
Files
52
|
Run time
2s
|
Badge
README BADGES
|
push
github
Ensure `bin/dist/anycable-go` has execution permission Someone on my team ran into an issue where even though the `bin/dist/anycable-go` binary had been downloaded by `bin/anycable-go`, the binary failed to have execution permission. This resulted in `Permission denied` errors when running `bin/anycable-go`, and it wasn't immediately apparent for them to be able to debug the issue. The download task does have an explicit step that sets the execution bit: - https://github.com/anycable/anycable-rails/blob/e4dcb9312/lib/generators/anycable/download/download_generator.rb#L77-L79 For _some_ reason this failed in their case, and it made things difficult to debug. By having `bin/anycable-go` check for execution permission before calling the binary we can avoid this unexpected edge-case.
108 of 590 branches covered (18.31%)
Branch coverage included in aggregate %.
806 of 1372 relevant lines covered (58.75%)
0.7 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|