Skip to content

Commit bdd06ad

Browse files
authored
fix: #146 - Fix issue with deleting files in /tmp/ (#147)
### Description Fix issue with deleting files in `/tmp/` --- Fixes #146
1 parent 968bd9a commit bdd06ad

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: detect-secrets
2323
- repo: https://github.com/gitleaks/gitleaks
24-
rev: v8.30.0
24+
rev: v8.30.1
2525
hooks:
2626
- id: gitleaks
2727
- repo: https://github.com/fabasoad/pre-commit-grype

src/install-cobc.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ main() {
3636
&& ./configure --prefix=/usr \
3737
&& sudo make \
3838
&& sudo make install \
39-
&& sudo ldconfig \
40-
&& cd /tmp/ \
41-
&& sudo rm -rf ./*
39+
&& sudo ldconfig
4240
sudo apt-get -y --purge autoremove
4341

4442
echo "/home/cobol" >> "$GITHUB_PATH"

0 commit comments

Comments
 (0)