summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/vscode-extensions
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2021-01-18 18:50:26 +0100
committerGitHub <noreply@github.com>2021-01-18 18:50:26 +0100
commit32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc (patch)
tree89597859ffe12669988d527fb63de78fe1fe1461 /pkgs/misc/vscode-extensions
parent5d55162e2a1dedf4dd8bb5319576c9686ae52881 (diff)
vscode-extensions: some tweaks to comments (#100282)
Diffstat (limited to 'pkgs/misc/vscode-extensions')
-rwxr-xr-xpkgs/misc/vscode-extensions/update_installed_exts.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/misc/vscode-extensions/update_installed_exts.sh b/pkgs/misc/vscode-extensions/update_installed_exts.sh
index fdbc14fb2642..659ed8da791e 100755
--- a/pkgs/misc/vscode-extensions/update_installed_exts.sh
+++ b/pkgs/misc/vscode-extensions/update_installed_exts.sh
@@ -8,7 +8,7 @@ function fail() {
exit 1
}
-# Helper to clean up after ourself if we're killed by SIGINT
+# Helper to clean up after ourselves if we're killed by SIGINT.
function clean_up() {
TDIR="${TMPDIR:-/tmp}"
echo "Script killed, cleaning up tmpdirs: $TDIR/vscode_exts_*" >&2
@@ -18,7 +18,7 @@ function clean_up() {
function get_vsixpkg() {
N="$1.$2"
- # Create a tempdir for the extension download
+ # Create a tempdir for the extension download.
EXTTMP=$(mktemp -d -t vscode_exts_XXXXXXXX)
URL="https://$1.gallery.vsassets.io/_apis/public/gallery/publisher/$1/extension/$2/latest/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"
@@ -32,7 +32,7 @@ function get_vsixpkg() {
# Clean up.
rm -Rf "$EXTTMP"
- # I don't like 'rm -Rf' lurking in my scripts but this seems appropriate
+ # I don't like 'rm -Rf' lurking in my scripts but this seems appropriate.
cat <<-EOF
{
@@ -44,7 +44,7 @@ function get_vsixpkg() {
EOF
}
-# See if can find our code binary somewhere.
+# See if we can find our `code` binary somewhere.
if [ $# -ne 0 ]; then
CODE=$1
else