Skip to content

Commit

Permalink
reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed Mar 1, 2023
1 parent d544664 commit 35ed42e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion cli/internal/run/dry_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ func executeDryRun(ctx gocontext.Context, engine *core.Engine, g *graph.Complete

dryRunExecFunc := func(ctx gocontext.Context, packageTask *nodes.PackageTask) error {
hash := packageTask.Hash
// envVars := packageTask.HashedEnvVars
envVars := taskEnvVarSummary{
Configured: packageTask.HashedEnvVars.Details.Explicit.ToSecretHashable(),
Inferred: packageTask.HashedEnvVars.Details.Prefixed.ToSecretHashable(),
Expand Down
5 changes: 1 addition & 4 deletions cli/internal/taskhash/taskhash.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,7 @@ func (th *Tracker) CalculateTaskHash(packageTask *nodes.PackageTask, dependencyS
envPrefixes = append(envPrefixes, framework.EnvPrefix)
}

envMap := env.Get(
packageTask.TaskDefinition.EnvVarDependencies,
envPrefixes,
)
envMap := env.Get(packageTask.TaskDefinition.EnvVarDependencies, envPrefixes)
hashableEnvPairs := envMap.Composite.ToHashable()
outputs := packageTask.HashableOutputs()
taskDependencyHashes, err := th.calculateDependencyHashes(dependencySet)
Expand Down

0 comments on commit 35ed42e

Please sign in to comment.