mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
Fix typo
This commit is contained in:
@ -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))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user