Remove some duplicate worlds (#2582)

Signed-off-by: Nguyen Phuong An <AnNP@vn.fujitsu.com>
This commit is contained in:
Nguyen Phuong An
2019-02-20 19:12:21 +07:00
committed by Paul G
parent 3c23aac2d3
commit e78d9a7893
9 changed files with 9 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ func (a Auto) Walk() error {
return nil
}
// matches matches re to filename, if is is a match, the subexpression will be used to expand
// matches re to filename, if it is a match, the subexpression will be used to expand
// template to an origin. When match is true that origin is returned. Origin is fully qualified.
func matches(re *regexp.Regexp, filename, template string) (match bool, origin string) {
base := filepath.Base(filename)