From 943c52f0b33d1733518b70043e4ef7372be36336 Mon Sep 17 00:00:00 2001 From: Sarah Fortune Date: Mon, 23 Jun 2025 16:19:14 -0700 Subject: [PATCH] Update scripts/get-vscode-usages.sh (#4402) --- scripts/get-vscode-usages.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/get-vscode-usages.sh b/scripts/get-vscode-usages.sh index c295958ee8..403853dfd1 100755 --- a/scripts/get-vscode-usages.sh +++ b/scripts/get-vscode-usages.sh @@ -13,7 +13,8 @@ grep -Ev '//.*vscode' | # remove commented out code sed 's|.*vscode\.|vscode.|'| # remove everything before vscode. sed 's/[^a-zA-Z0-9_.].*$//' | # remove everything after last identifier grep -E '\.[a-z][^.]+$' | # remove types (last part of identifier should be lowercase) -sort | uniq > $SDK_DEST +sort | uniq -c | sort -n | # Count occurrences +cat > $SDK_DEST } echo Wrote uses of the vscode SDK to $(realpath $SDK_DEST)