mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
requested changes
This commit is contained in:
@@ -299,7 +299,7 @@ func GetCmdFlagOrEnv(cmd *cobra.Command, flag string, envNames []string) (string
|
||||
}
|
||||
if value == "" {
|
||||
for _, env := range envNames {
|
||||
value = os.Getenv(env)
|
||||
value = strings.TrimSpace(os.Getenv(env))
|
||||
if value != "" {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user