diff --git a/.bin/list-licenses b/.bin/list-licenses index 9a7cfa8..b10e0d0 100755 --- a/.bin/list-licenses +++ b/.bin/list-licenses @@ -11,6 +11,7 @@ if [ -f package.json ]; then { echo; } 2>/dev/null else echo "No dependencies found in package.json" >&2 + { echo; } 2>/dev/null fi fi @@ -34,5 +35,6 @@ if [ -f go.mod ]; then # .bin/go-licenses report "$module_name" --template .bin/license-template-go.tpl 2>/dev/null # echo "$go_modules" | xargs -I {} sh -c '.bin/go-licenses report --template .bin/license-template-go.tpl {}' 2>/dev/null | grep -v '^$' + { echo; } 2>/dev/null fi fi diff --git a/.reports/dep-licenses.csv b/.reports/dep-licenses.csv index a0ccd7a..bd6bc31 100644 --- a/.reports/dep-licenses.csv +++ b/.reports/dep-licenses.csv @@ -2,3 +2,4 @@ "golang.org/x/oauth2","BSD-3-Clause" "github.com/stretchr/testify","MIT" "golang.org/x/oauth2","BSD-3-Clause" +