Skip to content

Commit 63184f4

Browse files
committed
fix(actions/argocd/get-manifest-files): unexpected value assignment on const
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 5bd10dc commit 63184f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

actions/argocd/get-manifest-files/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ runs:
3333
INPUT_ENVIRONMENT: ${{ inputs.environment }}
3434
with:
3535
script: |
36-
const environment = process.env.INPUT_ENVIRONMENT;
37-
if (!environment) {
36+
const environmentInput = process.env.INPUT_ENVIRONMENT;
37+
if (!environmentInput) {
3838
return core.setFailed(`"environment" input is not defined`);
3939
}
4040
4141
// Get suffix from environment
42-
const environmentParts = environment.split(":");
42+
const environmentParts = environmentInput.split(":");
4343
44-
environment = environmentParts[0];
44+
const environment = environmentParts[0];
4545
const environmentSuffix = environmentParts[1];
4646
4747
core.setOutput("environment", environment);

0 commit comments

Comments
 (0)