Browse Source

pkg/dockerscript: '.' is not a special character

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Solomon Hykes 11 years ago
parent
commit
5c14c3ada5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/dockerscript/scanner/extra.go

+ 1 - 1
pkg/dockerscript/scanner/extra.go

@@ -14,7 +14,7 @@ func detectIdent(ch rune) bool {
 	if unicode.IsDigit(ch) {
 		return true
 	}
-	if strings.ContainsRune("_:/+-@%^", ch) {
+	if strings.ContainsRune("_:/+-@%^.", ch) {
 		return true
 	}
 	return false