Skip to content

Commit

Permalink
Turn [[]] into if block
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Dec 12, 2024
1 parent cb8fa1d commit 804d958
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
sudo rm -f /swapfile
sudo apt clean
DOCKER_IMGS=$(docker image ls -aq)
[[ ! -z "${DOCKER_IMGS}" ]] && docker rmi ${DOCKER_IMGS}
if [[ ! -z "${DOCKER_IMGS}" ]]; then docker rmi ${DOCKER_IMGS}; fi
df -h
# Checkout the GSI to get the ci/spack.yaml file
- name: checkout
Expand Down

0 comments on commit 804d958

Please sign in to comment.