Skip to content

Commit

Permalink
tools/license.sh: only include production dependencies in LICENSE
Browse files Browse the repository at this point in the history
Change-Id: I50762892a7953037351a8a2477db8808825b07c7
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/380197
Trust: Suzy Mueller <[email protected]>
Run-TryBot: Suzy Mueller <[email protected]>
TryBot-Result: kokoro <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
  • Loading branch information
suzmue committed Jan 21, 2022
1 parent 8a5263d commit 59db2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ YARN="${ROOT}/node_modules/.bin/yarn"
$YARN import

ALL_LICENSES=$(
$YARN licenses list --json --no-progress 2>/dev/null|
$YARN licenses list --json --no-progress --prod 2>/dev/null|
jq 'select(.type == "table") | .data.body | map( {name: .[0], version: .[1], license: .[2], url: .[3], verndor: .[4], vendorName: .[5]} )')

NG=$(echo "${ALL_LICENSES}" | jq '
Expand Down

0 comments on commit 59db2c8

Please sign in to comment.