mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
completed lint driven refactoring
This commit is contained in:
parent
e383e4d9b1
commit
557d7dbe17
8 changed files with 27 additions and 47 deletions
|
@ -92,7 +92,7 @@ func (env *Environment) Set(name, value string) string {
|
|||
env.Lock()
|
||||
defer env.Unlock()
|
||||
|
||||
old, _ := env.Data[name]
|
||||
old := env.Data[name]
|
||||
env.Data[name] = value
|
||||
|
||||
if cb, hasCallback := env.cbs[name]; hasCallback {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue