mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 11:27:47 +00:00
refactor(run): do not report project id in error message
This commit is contained in:
@@ -144,7 +144,7 @@ var runCmd = &cobra.Command{
|
|||||||
util.HandleError(err, "Could not confirm project has environment")
|
util.HandleError(err, "Could not confirm project has environment")
|
||||||
}
|
}
|
||||||
if !hasEnvironment {
|
if !hasEnvironment {
|
||||||
util.HandleError(fmt.Errorf("project '%s' does not have environment '%s'", projectId, environmentName))
|
util.HandleError(fmt.Errorf("project does not have environment '%s'", environmentName))
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debug().Msgf("Project '%s' has environment '%s'", projectId, environmentName)
|
log.Debug().Msgf("Project '%s' has environment '%s'", projectId, environmentName)
|
||||||
|
|||||||
Reference in New Issue
Block a user