Skip to content

chore: Fix spelling errors #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[codespell]
skip = .codespellrc,./.git
check-filenames =
check-hidden =
quiet = 2
2 changes: 1 addition & 1 deletion ATTRIBUTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ syntax/tree.go (from RegexTree.cs and RegexNode.cs): ported literally as possibl

syntax/writer.go (from RegexWriter.cs): ported literally with minor changes to make it more Go-ish.

match.go (from RegexMatch.cs): ported, simplified, and changed to handle Go's lack of inheritence.
match.go (from RegexMatch.cs): ported, simplified, and changed to handle Go's lack of inheritance.

regexp.go (from Regex.cs and RegexOptions.cs): conceptually serves the same "starting point", but is simplified
and changed to handle differences in C# strings and Go strings/runes.
Expand Down
4 changes: 2 additions & 2 deletions cmd/controller-bootstrap/command/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ func ensureSDKRepo(
return err
}

// Clone repository if it doen't exist
// Clone repository if it doesn't exist
sdkDir = filepath.Join(srcPath, "aws-sdk-go")
if _, err := os.Stat(sdkDir); os.IsNotExist(err) {

ctx, cancel := context.WithTimeout(ctx, defaultGitCloneTimeout)
defer cancel()
err = util.CloneRepository(ctx, sdkDir, sdkRepoURL)
if err != nil {
return fmt.Errorf("canot clone repository: %v", err)
return fmt.Errorf("cannot clone repository: %v", err)
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/util/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

// LoadRepository loads a repository from the local file system.
// TODO: load repository into a memory filesystem - needs go1.16
// migration or use somethign like https://github.com/spf13/afero
// migration or use something like https://github.com/spf13/afero
func LoadRepository(path string) (*git.Repository, error) {
return git.PlainOpen(path)
}
Expand Down