Single commit repo (#95)

* supporting repos with one commit
This commit is contained in:
Zachary Rice authored and GitHub committed 2018-09-26 14:28:22 -05:00
1 parent 8eb28cbb4c
commit fad98cbde2
216 files changed
+27523 -3828

No files matched your search

+3
View File
@@ -96,6 +96,9 @@ func (p *sshParser) parseKV() sshParserStateFn {
}
comment := ""
tok := p.peek()
if tok == nil {
tok = &token{typ: tokenEOF}
}
if tok.typ == tokenComment && tok.Position.Line == val.Position.Line {
tok = p.getToken()
comment = tok.val