mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
fix(cli): return ask directory path
This commit is contained in:
parent
4afe568db6
commit
8dd85afa15
@ -168,8 +168,8 @@ func SaveConfig(config IConfig, defaultFilename string, requiredConfigPath strin
|
||||
configDirectory = filepath.Join(configDirectory, "semaphore")
|
||||
}
|
||||
|
||||
askValue("Config output directory", configDirectory, &configDirectory)
|
||||
configPath = filepath.Join(configDirectory, defaultFilename)
|
||||
askValue("Config output file", configPath, &configPath)
|
||||
} else {
|
||||
configPath = requiredConfigPath
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user