mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2025-07-01 17:26:36 +02:00
For consistency's sake
This commit is contained in:
parent
4290aaf865
commit
9f72cda36c
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -56,7 +56,7 @@ func isError(err error) bool {
|
|||
func readJson() {
|
||||
envPath, isSet := os.LookupEnv("CHARSHEET")
|
||||
switch {
|
||||
case pathFlag != "":
|
||||
case len(pathFlag) > 0:
|
||||
path = pathFlag
|
||||
case isSet:
|
||||
path = envPath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue