Skip to content

Commit eedcb7e

Browse files
committed
Merge pull request #6 from devdrops/tmp_folder
Merged #6.
2 parents 9c870c6 + 43ba66f commit eedcb7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pre-commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ PHPCS_IGNORE=
1919
PHPMD_BIN=/usr/bin/phpmd
2020
PHPMD_OUTPUT=text
2121
PHPMD_PATTERNS_LIST=cleancode,codesize,controversial,design,naming,unusedcode
22-
TMP_STAGING=".tmp_staging"
22+
TMP_STAGING="/tmp/.tmp_staging"
2323

2424
# Parse config
2525
CONFIG_FILE=$(dirname $0)/config
@@ -162,5 +162,7 @@ fi
162162

163163
tput setaf 7;
164164

165+
rm -rf $TMP_STAGING
166+
165167
echo ""
166168
exit 0;

0 commit comments

Comments
 (0)