mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
pkg/dockerscript: '.' is not a special character
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
parent
f94a18677a
commit
5c14c3ada5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ func detectIdent(ch rune) bool {
|
||||||
if unicode.IsDigit(ch) {
|
if unicode.IsDigit(ch) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if strings.ContainsRune("_:/+-@%^", ch) {
|
if strings.ContainsRune("_:/+-@%^.", ch) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue