We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3b2571 + 7827196 commit 9002847Copy full SHA for 9002847
.travis.yml
@@ -14,7 +14,6 @@ env:
14
global:
15
- IMPORTPATH=github.com/coreos/go-systemd
16
- GOPATH=/opt
17
- - GO15VENDOREXPERIMENT=1
18
- DEP_BINDIR=/tmp
19
- BUILD_DIR=/opt/src/github.com/coreos/go-systemd
20
matrix:
unit/deserialize.go
@@ -88,7 +88,7 @@ func (l *lexer) lex() {
88
l.errchan <- err
89
return
90
}
91
- if bytes.IndexAny(line, SYSTEMD_NEWLINE) == -1 {
+ if !bytes.ContainsAny(line, SYSTEMD_NEWLINE) {
92
l.errchan <- ErrLineTooLong
93
94
0 commit comments