Skip to content

Commit

Permalink
Fixed issue with relative paths as default output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodangelis committed Apr 19, 2021
1 parent 6dbe325 commit 32f5bce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ func Wizard(path string, listAllInterfaces bool) error {

if promptOutputResultString, err := promptOutput.Run(); err == nil {
if promptOutputResultString != "" {
cfg.Output = promptOutputResultString
p, _ := filepath.Abs(promptOutputResultString)
cfg.Output = p
}
}

Expand Down

0 comments on commit 32f5bce

Please sign in to comment.