ipinfo/cli

Not creating ipinfo folder by default

Closed this issue · 2 comments

Installing the program is not creating ipinfo folder inside .config folder by default that results a cache error

$ ipinfo 8.8.8.8
warn: cache will not be used: error opening database: open /home/umar/.config/ipinfo/cache.boltdb: no such file or directoryCore
- IP           8.8.8.8
- Anycast      true
- Hostname     dns.google
- City         Mountain View
- Region       California
- Country      United States (US)
- Location     37.4056,-122.0775
- Organization AS15169 Google LLC
- Postal       94043
- Timezone     America/Los_Angeles

To replicate error you can rename/delete you ~/.config/ipinfo folder

#78 will fix it.