Skip to content

Commit

Permalink
fix: condition (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop authored Jul 25, 2024
1 parent 15ce02c commit 7a0e683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ steps:
# and stores the env name in the cache
force="<< parameters.force >>"
if [[ -n "<< parameters.pool-type >>" ]]; then
if [[ $force ]]; then
if [[ $force == true ]]; then
echo "Force option is enabled... Proceeding with environment creation."
echo "null" > env_name.txt # Write 'null' to indicate no environment was found
echo "create" > skip_create_env
Expand Down
1 change: 1 addition & 0 deletions src/commands/vfcli/vfcli-delete-or-release-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ steps:
name: Release or Delete Env
when: << parameters.when >>
command: |
force="<< parameters.force >>"
if [[ $force == true ]]; then
vfcli env delete --name "<< parameters.env-name >>" --interactive false --force
else
Expand Down

0 comments on commit 7a0e683

Please sign in to comment.