Show a warning when using wrong executable
This commit updates the 'wdcli' command to show a warning when using the wrong executable.
This commit is contained in:
parent
c4de1f2a06
commit
35bb95c5ca
29 changed files with 176 additions and 30 deletions
2
env/params.go
vendored
2
env/params.go
vendored
|
|
@ -20,7 +20,7 @@ func (params Params) ConfigFilePath() string {
|
|||
if params.BaseDirectory == "" {
|
||||
return ""
|
||||
}
|
||||
return filepath.Join(params.BaseDirectory, ".env")
|
||||
return filepath.Join(params.BaseDirectory, ConfigFile)
|
||||
}
|
||||
|
||||
var errUnableToLoadParams = exit.Error{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue