Skip to content

Commit cf6af6f

Browse files
author
Philip Germanov
committed
refactor: rename envVars to envs
1 parent d4cf486 commit cf6af6f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cmd/npmExecuteTests.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ func runNpmExecuteTests(config *npmExecuteTestsOptions, c command.ExecRunner) er
4242
}
4343
}
4444

45-
if len(config.EnvVars) > 0 {
46-
c.SetEnv(config.EnvVars)
45+
if len(config.Envs) > 0 {
46+
c.SetEnv(config.Envs)
4747
}
4848

4949
if len(config.Paths) > 0 {

cmd/npmExecuteTests_generated.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/metadata/npmExecuteTests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
If you want to specify an extra option that the tested url it appended to.
7272
For example if the test URL is `http://localhost and urlOptionPrefix is `--base-url=`,
7373
we'll add `--base-url=http://localhost` to your runScript.
74-
- name: envVars
74+
- name: envs
7575
type: "[]string"
7676
description: List of environment variables to be set
7777
- name: paths

0 commit comments

Comments
 (0)