diff --git a/.golangci.yml b/.golangci.yml index 0373972..81981d7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,6 +6,8 @@ output: print-issued-lines: false linters: + enable: + - misspell disable: - errcheck - staticcheck diff --git a/migrate.go b/migrate.go index 1c7c0a3..ba7d329 100644 --- a/migrate.go +++ b/migrate.go @@ -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