mirror of
https://github.com/status-im/migrate.git
synced 2025-02-23 08:18:07 +00:00
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…
x
Reference in New Issue
Block a user