fixed empty output paths
This commit is contained in:
parent
87646b6a28
commit
90ce6c00bc
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ func Initialize() {
|
|||
Count = tmp
|
||||
if len(os.Args) > 1 {
|
||||
Output = os.Args[1]
|
||||
} else {
|
||||
}
|
||||
if len(Output) == 0 {
|
||||
tmp, error := os.Getwd()
|
||||
if error != nil {
|
||||
loggo.Fatal("encountered an error getting the current working directory", error.Error())
|
||||
|
|
Loading…
Reference in a new issue