Skip to content

Commit 983ea74

Browse files
authored
Fix for fix of license check (#1613)
* Fix for fix of license check.
1 parent 9a46cb9 commit 983ea74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create-licenses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ for PACKAGE in $(go list -m -json all | jq -r .Path | sort -f); do
184184
# Kpt currently depends on 2 versions of posener. Because v2 *is* checked out
185185
# the directory does exist causing the above check to pass. However this repo
186186
# is not included in the vendor directory so a license will not be found.
187-
if [[ ! -e "github.com/posener/complete" ]]; then
187+
if [[ "${PACKAGE}" == "github.com/posener/complete" ]]; then
188188
continue
189189
fi
190190

0 commit comments

Comments
 (0)