mirror of
https://github.com/gmemstr/pogo.git
synced 2024-09-19 17:21:10 +01:00
Test pressence of config json file.
This commit is contained in:
parent
fd4cb338cc
commit
4964e4e0f4
|
@ -20,7 +20,7 @@ func main() {
|
|||
|
||||
// Check if this is the first time Pogo has been run
|
||||
// with a lockfile
|
||||
if _, err := os.Stat("assets"); os.IsNotExist(err) {
|
||||
if _, err := os.Stat("assets/config/config.json"); os.IsNotExist(err) {
|
||||
fmt.Println("This looks like your first time running Pogo, give me a second to set myself up.")
|
||||
Setup()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue