Skip to content

Commit 101beca

Browse files
committed
Fix line length linter warnings
1 parent b291103 commit 101beca

File tree

1 file changed

+54
-13
lines changed

1 file changed

+54
-13
lines changed

src/ci/scripts/free-disk-space.sh

+54-13
Original file line numberDiff line numberDiff line change
@@ -150,19 +150,60 @@ printSavedSpace $SAVED "Haskell runtime"
150150

151151
BEFORE=$(getAvailableSpace)
152152

153-
sudo apt-get remove -y '^aspnetcore-.*' || echo "::warning::The command [sudo apt-get remove -y '^aspnetcore-.*'] failed to complete successfully. Proceeding..."
154-
sudo apt-get remove -y '^dotnet-.*' --fix-missing || echo "::warning::The command [sudo apt-get remove -y '^dotnet-.*' --fix-missing] failed to complete successfully. Proceeding..."
155-
sudo apt-get remove -y '^llvm-.*' --fix-missing || echo "::warning::The command [sudo apt-get remove -y '^llvm-.*' --fix-missing] failed to complete successfully. Proceeding..."
156-
sudo apt-get remove -y 'php.*' --fix-missing || echo "::warning::The command [sudo apt-get remove -y 'php.*' --fix-missing] failed to complete successfully. Proceeding..."
157-
sudo apt-get remove -y '^mongodb-.*' --fix-missing || echo "::warning::The command [sudo apt-get remove -y '^mongodb-.*' --fix-missing] failed to complete successfully. Proceeding..."
158-
sudo apt-get remove -y '^mysql-.*' --fix-missing || echo "::warning::The command [sudo apt-get remove -y '^mysql-.*' --fix-missing] failed to complete successfully. Proceeding..."
159-
sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri --fix-missing || echo "::warning::The command [sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri --fix-missing] failed to complete successfully. Proceeding..."
160-
sudo apt-get remove -y google-cloud-sdk --fix-missing || echo "::debug::The command [sudo apt-get remove -y google-cloud-sdk --fix-missing] failed to complete successfully. Proceeding..."
161-
sudo apt-get remove -y google-cloud-cli --fix-missing || echo "::debug::The command [sudo apt-get remove -y google-cloud-cli --fix-missing] failed to complete successfully. Proceeding..."
162-
sudo apt-get remove -y microsoft-edge-stable --fix-missing || echo "::debug::The command [sudo apt-get remove -y microsoft-edge-stable --fix-missing] failed to complete successfully. Proceeding..."
163-
sudo apt-get remove -y snapd --fix-missing || echo "::debug::The command [sudo apt-get remove -y snapd --fix-missing] failed to complete successfully. Proceeding..."
164-
sudo apt-get autoremove -y || echo "::warning::The command [sudo apt-get autoremove -y] failed to complete successfully. Proceeding..."
165-
sudo apt-get clean || echo "::warning::The command [sudo apt-get clean] failed to complete successfully. Proceeding..."
153+
sudo apt-get remove -y '^aspnetcore-.*' \
154+
|| echo "::warning::The command [sudo apt-get remove -y '^aspnetcore-.*'] \
155+
failed to complete successfully. Proceeding..."
156+
sudo apt-get remove -y '^dotnet-.*' --fix-missing \
157+
|| echo "::warning::The command [sudo apt-get remove -y '^dotnet-.*' --fix-missing] \
158+
failed to complete successfully. Proceeding..."
159+
sudo apt-get remove -y '^llvm-.*' --fix-missing \
160+
|| echo "::warning::The command [sudo apt-get remove -y '^llvm-.*' --fix-missing] \
161+
failed to complete successfully. Proceeding..."
162+
sudo apt-get remove -y 'php.*' --fix-missing \
163+
|| echo "::warning::The command [sudo apt-get remove -y 'php.*' --fix-missing] \
164+
failed to complete successfully. Proceeding..."
165+
sudo apt-get remove -y '^mongodb-.*' --fix-missing \
166+
|| echo "::warning::The command [sudo apt-get remove -y '^mongodb-.*' --fix-missing] \
167+
failed to complete successfully. Proceeding..."
168+
sudo apt-get remove -y '^mysql-.*' --fix-missing \
169+
|| echo "::warning::The command [sudo apt-get remove -y '^mysql-.*' --fix-missing] \
170+
failed to complete successfully. Proceeding..."
171+
sudo apt-get remove -y azure-cli --fix-missing \
172+
|| echo "::warning::The command [sudo apt-get remove -y azure-cli --fix-missing] \
173+
failed to complete successfully. Proceeding..."
174+
sudo apt-get remove -y google-cloud-sdk --fix-missing \
175+
|| echo "::warning::The command [sudo apt-get remove -y google-chrome-stable --fix-missing] \
176+
failed to complete successfully. Proceeding..."
177+
sudo apt-get remove -y firefox --fix-missing \
178+
|| echo "::warning::The command [sudo apt-get remove -y firefox --fix-missing] \
179+
failed to complete successfully. Proceeding..."
180+
sudo apt-get remove -y powershell --fix-missing \
181+
|| echo "::warning::The command [sudo apt-get remove -y powershell --fix-missing] \
182+
failed to complete successfully. Proceeding..."
183+
sudo apt-get remove -y mono-devel --fix-missing \
184+
|| echo "::warning::The command [sudo apt-get remove -y mono-devel --fix-missing] \
185+
failed to complete successfully. Proceeding..."
186+
sudo apt-get remove -y libgl1-mesa-dri --fix-missing \
187+
|| echo "::warning::The command [sudo apt-get remove -y libgl1-mesa-dri --fix-missing] failed \
188+
to complete successfully. Proceeding..."
189+
sudo apt-get remove -y google-cloud-sdk --fix-missing \
190+
|| echo "::debug::The command [sudo apt-get remove -y google-cloud-sdk --fix-missing] \
191+
failed to complete successfully. Proceeding..."
192+
sudo apt-get remove -y google-cloud-cli --fix-missing \
193+
|| echo "::debug::The command [sudo apt-get remove -y google-cloud-cli --fix-missing] \
194+
failed to complete successfully. Proceeding..."
195+
sudo apt-get remove -y microsoft-edge-stable --fix-missing \
196+
|| echo "::debug::The command [sudo apt-get remove -y microsoft-edge-stable --fix-missing] \
197+
failed to complete successfully. Proceeding..."
198+
sudo apt-get remove -y snapd --fix-missing \
199+
|| echo "::debug::The command [sudo apt-get remove -y snapd --fix-missing] \
200+
failed to complete successfully. Proceeding..."
201+
sudo apt-get autoremove -y \
202+
|| echo "::warning::The command [sudo apt-get autoremove -y] \
203+
failed to complete successfully. Proceeding..."
204+
sudo apt-get clean \
205+
|| echo "::warning::The command [sudo apt-get clean] \
206+
failed to complete successfully. Proceeding..."
166207

167208
AFTER=$(getAvailableSpace)
168209
SAVED=$((AFTER-BEFORE))

0 commit comments

Comments
 (0)