fixed empty output paths

This commit is contained in:
Daniel Sommer 2023-11-23 15:00:34 +01:00
parent 87646b6a28
commit 90ce6c00bc

View file

@ -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())