For consistency's sake

This commit is contained in:
Nox Sluijtman 2022-08-28 16:45:30 +02:00
parent 4290aaf865
commit 9f72cda36c

View file

@ -56,7 +56,7 @@ func isError(err error) bool {
func readJson() { func readJson() {
envPath, isSet := os.LookupEnv("CHARSHEET") envPath, isSet := os.LookupEnv("CHARSHEET")
switch { switch {
case pathFlag != "": case len(pathFlag) > 0:
path = pathFlag path = pathFlag
case isSet: case isSet:
path = envPath path = envPath