We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d12833 commit 916f904Copy full SHA for 916f904
pre-commit
@@ -28,6 +28,9 @@ if [ -f "$git_root/.git" ]; then
28
fi
29
30
31
+SAVEIFS=$IFS
32
+IFS=$(echo -en "\n\b")
33
+
34
for changedfile in `git diff --cached --name-only --diff-filter=ACM`; do
35
#check puppet manifest syntax
36
if type puppet >/dev/null 2>&1; then
@@ -81,6 +84,7 @@ for changedfile in `git diff --cached --name-only --diff-filter=ACM`; do
81
84
echo "puppet-lint not installed. Skipping puppet-lint tests..."
82
85
83
86
done
87
+IFS=$SAVEIFS
88
89
#rspec test validation
90
if which rspec >/dev/null 2>&1; then
0 commit comments