Skip to content

Commit

Permalink
revert previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
msarvar committed Jun 23, 2021
1 parent 3b08952 commit 7607c15
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/events/project_command_context_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ func (cb *PolicyCheckProjectCommandContextBuilder) BuildProjectContext(
) (projectCmds []models.ProjectCommandContext) {
ctx.Log.Debug("PolicyChecks are enabled")

// If TerraformVersion not defined in config file look for a
// terraform.require_version block.
if prjCfg.TerraformVersion == nil {
prjCfg.TerraformVersion = getTfVersion(ctx, filepath.Join(repoDir, prjCfg.RepoRelDir))
}

projectCmds = cb.ProjectCommandContextBuilder.BuildProjectContext(
ctx,
cmdName,
Expand Down

0 comments on commit 7607c15

Please sign in to comment.