Ignore empty lines
This commit is contained in:
parent
d3475bdd8c
commit
e08527f9ea
1 changed files with 4 additions and 0 deletions
4
main.go
4
main.go
|
@ -28,6 +28,10 @@ func main() {
|
|||
lines := strings.SplitSeq(repositories, "\n")
|
||||
|
||||
for repositoryPath := range lines {
|
||||
if (repositoryPath == "") {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Println(repositoryPath)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue