Skip to content

Commit

Permalink
FDP-2318: added copyright to pre-commit script
Browse files Browse the repository at this point in the history
Signed-off-by: Loes Immens <[email protected]>
  • Loading branch information
loesimmens committed Oct 3, 2024
1 parent 887a5d0 commit 2542201
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright Contributors to the GXF project
#
# SPDX-License-Identifier: Apache-2.0

echo "*********************************************************"
echo "Running git pre-commit hook. Running Spotless Apply... "
echo "*********************************************************"
Expand All @@ -18,7 +22,7 @@ if [ "$status" = 0 ] ; then
# Add staged file changes to git
for file in $stagedFiles; do
if test -f "$file"; then
git add $file
git add "$file"
fi
done
#Exit
Expand Down

0 comments on commit 2542201

Please sign in to comment.