mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-06 16:47:12 +00:00
Check for existance of .scannerwork in cleanup script
This commit is contained in:
parent
fb9ead3f76
commit
5f0b535692
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ ! -d "${INPUT_PROJECTBASEDIR}/.scannerwork" ]; then
|
||||
echo ".scannerwork directory not found; nothing to clean up."
|
||||
exit
|
||||
fi
|
||||
|
||||
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
|
||||
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue