mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
fix: updated islazy to 1.9.1 (fixes #360)
This commit is contained in:
parent
f6c2e15836
commit
26e2cd8831
4 changed files with 7 additions and 5 deletions
6
Gopkg.lock
generated
6
Gopkg.lock
generated
|
@ -59,7 +59,7 @@
|
|||
revision = "f58a169a71a51037728990b2d3597a14f56b525b"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:b44604e0c8da17e780203bfd9388d65db31d4ee039347ea92788412e7737a08c"
|
||||
digest = "1:495dc25bbfe6025e945e3efe885801fc1aefc33d835cac453c0e36a35693d839"
|
||||
name = "github.com/evilsocket/islazy"
|
||||
packages = [
|
||||
"data",
|
||||
|
@ -71,8 +71,8 @@
|
|||
"zip",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "be7e564817af1379a350998577006745039f599f"
|
||||
version = "v1.9.0"
|
||||
revision = "3d8400c74f9dbc626d913e0575cda05d914bea57"
|
||||
version = "v1.9.1"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# unused-packages = true
|
||||
[[constraint]]
|
||||
name = "github.com/evilsocket/islazy"
|
||||
version = "1.9.0"
|
||||
version = "1.9.1"
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
|
|
|
@ -109,7 +109,6 @@ func (m SessionModule) IntParam(name string) (error, int) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
func (m SessionModule) DecParam(name string) (error, float64) {
|
||||
if p, found := m.params[name]; found {
|
||||
if err, v := p.Get(m.Session); err != nil {
|
||||
|
|
3
vendor/github.com/evilsocket/islazy/fs/misc.go
generated
vendored
3
vendor/github.com/evilsocket/islazy/fs/misc.go
generated
vendored
|
@ -14,6 +14,9 @@ var (
|
|||
|
||||
// Expand will expand a path with ~ to a full path of the current user.
|
||||
func Expand(path string) (string, error) {
|
||||
if path == "" {
|
||||
return path, nil
|
||||
}
|
||||
usr, err := user.Current()
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue