mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2024-11-29 05:23:49 +01:00
For consistency's sake
This commit is contained in:
parent
4290aaf865
commit
9f72cda36c
2
main.go
2
main.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue