added a message for invalid input file type

This commit is contained in:
Kaden5480 2021-04-21 18:27:24 +01:00
parent 5a6966df5a
commit b249166238

View file

@ -189,9 +189,11 @@ func initCommand(inputFile string, mode string) {
fmt.Println("completed task.") fmt.Println("completed task.")
os.Remove(out) os.Remove(out)
} else { } else if inputFile == "no input file provided" {
if inputFile == "no input file provided" {
return return
}
} else {
fmt.Println("incompatible input file")
} }
} }