Commit 8566f0a
committed
Fix pre-commit: Handle projects without go.sum
- go.sum only exists when there are external dependencies
- This project uses only Go standard library
- Update check to handle go.sum being optional1 parent 2a4a3d9 commit 8566f0a
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
0 commit comments