mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
修复BUG
This commit is contained in:
parent
d99c24f2c2
commit
b2174abd9c
@ -183,7 +183,7 @@ func ResolveCommand(args []string) {
|
||||
ConfigurationFile = filepath.Join(WorkingDirectory,"conf","app.conf")
|
||||
config := filepath.Join(WorkingDirectory,"conf","app.conf.example")
|
||||
if !utils.FileExists(ConfigurationFile) && utils.FileExists(config){
|
||||
utils.CopyFile(config,ConfigurationFile)
|
||||
utils.CopyFile(ConfigurationFile,config)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user