vendor: update dependencies to latest
This commit is contained in:
parent
58f7141c96
commit
89625e54cf
173 changed files with 4954 additions and 2224 deletions
9
vendor/github.com/aws/aws-sdk-go/internal/ini/skipper.go
generated
vendored
9
vendor/github.com/aws/aws-sdk-go/internal/ini/skipper.go
generated
vendored
|
@ -5,10 +5,10 @@ package ini
|
|||
// files. See example below
|
||||
//
|
||||
// [ foo ]
|
||||
// nested = // this section will be skipped
|
||||
// nested = ; this section will be skipped
|
||||
// a=b
|
||||
// c=d
|
||||
// bar=baz // this will be included
|
||||
// bar=baz ; this will be included
|
||||
type skipper struct {
|
||||
shouldSkip bool
|
||||
TokenSet bool
|
||||
|
@ -22,7 +22,10 @@ func newSkipper() skipper {
|
|||
}
|
||||
|
||||
func (s *skipper) ShouldSkip(tok Token) bool {
|
||||
if s.shouldSkip && s.prevTok.Type() == TokenNL && tok.Type() != TokenWS {
|
||||
if s.shouldSkip &&
|
||||
s.prevTok.Type() == TokenNL &&
|
||||
tok.Type() != TokenWS {
|
||||
|
||||
s.Continue()
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue