Commit 1fb29a29 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

Merge pull request #6 from Aaron1011/typo

Fix typo
parents 8f79464e 59ab19e3
...@@ -44,7 +44,7 @@ func LoadConfig(filename string) (*Config, error) { ...@@ -44,7 +44,7 @@ func LoadConfig(filename string) (*Config, error) {
return nil, err return nil, err
} }
// if nothing is there, write first conifg file. // if nothing is there, write first config file.
if _, err := os.Stat(filename); os.IsNotExist(err) { if _, err := os.Stat(filename); os.IsNotExist(err) {
WriteFile(filename, []byte(defaultConfigFile)) WriteFile(filename, []byte(defaultConfigFile))
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment