Skip to content

Commit

Permalink
Added misspell linter
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuratov committed Mar 22, 2019
1 parent 5059f0b commit ef4a805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ output:
print-issued-lines: false

linters:
enable:
- misspell
disable:
- errcheck
- staticcheck
2 changes: 1 addition & 1 deletion migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ func (m *Migrate) lock() error {
}
}()

// wait until we either recieve ErrLockTimeout or error from Lock operation
// wait until we either receive ErrLockTimeout or error from Lock operation
err := <-errchan
if err == nil {
m.isLocked = true
Expand Down

0 comments on commit ef4a805

Please sign in to comment.