Move comment to new line

This commit is contained in:
Tomás Senart
2013-09-08 03:27:33 +01:00
parent bc44c06457
commit d104324729

View File

@@ -30,7 +30,8 @@ func readTargets(source io.Reader) (Targets, error) {
for scanner.Scan() {
line := scanner.Text()
if line = strings.TrimSpace(line); line != "" && line[0:2] != "//" { // A comment or blank line
if line = strings.TrimSpace(line); line != "" && line[0:2] != "//" {
// Skipping comments or blank lines
lines = append(lines, line)
}
}