Skip to content

Commit

Permalink
better message
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Jan 14, 2025
1 parent 06f1427 commit 542a4a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/external-packages-license-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ check_file() {
# Empty license or different from Apache-2.0.
if [ -z "$license" ] || [ -n "$(echo $license | grep -v '// SPDX-License-Identifier: Apache-2.0')" ]
then
echo "wrong license in file:" $file
echo "Wrong license in file:" $file
exit 1
fi
}
Expand All @@ -26,6 +26,7 @@ done
deps=$(go list -deps -test ./pkg/* | grep "github.com/canonical/chisel/internal")
for dep in $deps
do
echo "Checking dependency:" $dep
folder=$(echo "$dep" | grep -o "internal/.*")
[ -d "$folder" ]
files=$folder/**/**.go
Expand Down

0 comments on commit 542a4a1

Please sign in to comment.