mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-27 07:57:30 +08:00
Fix typo
This commit is contained in:
@ -44,7 +44,7 @@ func LoadConfig(filename string) (*Config, error) {
|
||||
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) {
|
||||
WriteFile(filename, []byte(defaultConfigFile))
|
||||
}
|
||||
|
Reference in New Issue
Block a user