mirror of https://github.com/status-im/migrate.git
Added misspell linter
This commit is contained in:
parent
5059f0bee6
commit
ef4a805b02
|
@ -6,6 +6,8 @@ output:
|
||||||
print-issued-lines: false
|
print-issued-lines: false
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
|
enable:
|
||||||
|
- misspell
|
||||||
disable:
|
disable:
|
||||||
- errcheck
|
- errcheck
|
||||||
- staticcheck
|
- staticcheck
|
||||||
|
|
|
@ -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
|
err := <-errchan
|
||||||
if err == nil {
|
if err == nil {
|
||||||
m.isLocked = true
|
m.isLocked = true
|
||||||
|
|
Loading…
Reference in New Issue