Commit 2a07090
Fail loudly if VERSION cannot be read from lib
Previously the gemspec dereferenced MatchData#[] directly, so a
formatting change in lib/github-markup.rb that broke the regex
would raise NoMethodError on nil. Wrap the match in an explicit
check and raise with the file path so the failure is obvious.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Zack Koppert <zkoppert@github.com>1 parent 05d38d8 commit 2a07090
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments