1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-09-16 21:31:40 +02:00

check if config is null (#223)

This commit is contained in:
Andreas Wachter 2024-04-03 16:32:55 +02:00 committed by GitHub
parent bf58b23155
commit 54feabae23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,6 +83,10 @@ func readConfigFile(configfile string) []*types.Conf {
}
}
if c == nil {
continue
}
for i, local := range c.Destination.Local {
c.Destination.Local[i].Path = substituteHomeForTildeInPath(local.Path)
}