Browse code

vendor: bump google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d

full diff: https://github.com/google/shlex/compare/6f45313302b9c56850fc17f99e40caebce98c716...e7afc7fbc51079733e9468cdfd1efcd7d196cd1d

- google/shlex#2 Remove unnecessary UnreadRune call
- google/shlex#3 Add go.mod

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/01/08 23:27:02
Showing 3 changed files
... ...
@@ -30,7 +30,7 @@ github.com/moby/buildkit                            4f4e03067523b2fc5ca2f17514a5
30 30
 github.com/tonistiigi/fsutil                        3bbb99cdbd76619ab717299830c60f6f2a533a6b
31 31
 github.com/grpc-ecosystem/grpc-opentracing          8e809c8a86450a29b90dcc9efbf062d0fe6d9746
32 32
 github.com/opentracing/opentracing-go               1361b9cd60be79c4c3a7fa9841b3c132e40066a7
33
-github.com/google/shlex                             6f45313302b9c56850fc17f99e40caebce98c716
33
+github.com/google/shlex                             e7afc7fbc51079733e9468cdfd1efcd7d196cd1d
34 34
 github.com/opentracing-contrib/go-stdlib            b1a47cfbdd7543e70e9ef3e73d0802ad306cc1cc
35 35
 github.com/mitchellh/hashstructure                  2bca23e0e452137f789efbc8610126fd8b94f73b
36 36
 github.com/gofrs/flock                              392e7fae8f1b0bdbd67dad7237d23f618feb6dbb # v0.7.1
37 37
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+module github.com/google/shlex
1
+
2
+go 1.13
... ...
@@ -253,7 +253,6 @@ func (t *Tokenizer) scanStream() (*Token, error) {
253 253
 					}
254 254
 				case spaceRuneClass:
255 255
 					{
256
-						t.input.UnreadRune()
257 256
 						token := &Token{
258 257
 							tokenType: tokenType,
259 258
 							value:     string(value)}