Skip to content

Commit

Permalink
Updated code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 18, 2020
1 parent c3c3d43 commit 1c6c9ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Expand Up @@ -34,7 +34,6 @@ func AddEnvironmentConditionToStepExample() {

for _, environmentName := range environmentNames {
environments, err := client.Environments.GetByName(environmentName)

if err != nil {
// TODO: handle error
}
Expand All @@ -43,13 +42,11 @@ func AddEnvironmentConditionToStepExample() {
}

project, err := client.Projects.GetByName(projectName)

if err != nil {
// TODO: handle error
}

deploymentProcess, err := client.DeploymentProcesses.GetByID(project.DeploymentProcessID)

if err != nil {
// TODO: handle error
}
Expand Down
1 change: 0 additions & 1 deletion examples/deployment_processes/create_script_step.go
Expand Up @@ -40,7 +40,6 @@ func CreateScriptStepExample() {

// Get the deployment process
deploymentProcess, err := client.DeploymentProcesses.GetByID(project.DeploymentProcessID)

if err != nil {
// TODO: handle error
}
Expand Down

0 comments on commit 1c6c9ef

Please sign in to comment.