diff --git a/README.md b/README.md index 067a393..1ccb56a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ This config format is also accepted by [trash](https://github.com/rancher/trash) You can initiate your project with vendor directory and `vendor.conf` using command `vndr init`. This will populate your vendor directory with latest versions of -all dependecies and also write `vendor.conf` config which you can use for changing +all dependencies and also write `vendor.conf` config which you can use for changing versions later. ## Updating or using existing vendor.conf diff --git a/clean.go b/clean.go index 8de9483..4ad628e 100644 --- a/clean.go +++ b/clean.go @@ -57,7 +57,7 @@ func isGoFile(path string) bool { // licenseFilesRegexp is a regexp of file names that are likely to contain licensing information var licenseFilesRegexp = regexp.MustCompile(`(?i).*(LICENSE|COPYING|PATENT|NOTICE|README).*`) -// cleanVendor removes files from unused pacakges and non-go files +// cleanVendor removes files from unused packages and non-go files func cleanVendor(vendorDir string, realDeps []*build.Package) error { realPaths := make(map[string]bool) for _, pkg := range realDeps {