mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 14:55:44 +00:00
chore: remove repetitive words (#2259)
Signed-off-by: majorteach <[email protected]> Co-authored-by: ChristopherHX <[email protected]>
This commit is contained in:
1 parent
b9382a2c4e
commit
3949d74af5
2 files changed
+2
-2
No files matched your search
@@ -27,7 +27,7 @@ func evaluateCompositeInputAndEnv(ctx context.Context, parent *RunContext, step
|
||||
envKey := regexp.MustCompile("[^A-Z0-9-]").ReplaceAllString(strings.ToUpper(inputID), "_")
|
||||
envKey = fmt.Sprintf("INPUT_%s", strings.ToUpper(envKey))
|
||||
|
||||
// lookup if key is defined in the step but the the already
|
||||
// lookup if key is defined in the step but the already
|
||||
// evaluated value from the environment
|
||||
_, defined := step.getStepModel().With[inputID]
|
||||
if value, ok := stepEnv[envKey]; defined && ok {
|
||||
|
||||
Reference in new issue
Block a user