From c6482649ddd0009c886178012a72f872aa603225 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Thu, 24 Oct 2024 22:28:22 -0300 Subject: [PATCH] Remove unused function --- action.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/action.yml b/action.yml index 30afcad..b7d7231 100644 --- a/action.yml +++ b/action.yml @@ -15,14 +15,6 @@ runs: - name: Prepare id: prep run: | - sudo() { - if [ $(id -u) -eq 0 ]; then - "$@" - else - command sudo "$@" - fi - } - if [ $(uname) == "Darwin" ]; then brew tap gerlero/openfoam echo "openfoam-app-version=$(brew info gerlero/openfoam/openfoam | head -n 1 | awk '{print $3}')" >> "$GITHUB_OUTPUT"