cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / golang / install.sh
index 30493cf88d1e8d070d83bb32534d0e63203eb938..01b5a19b923fb3449e9fe03a55a42a0c7b68adc6 100644 (file)
@@ -19,7 +19,7 @@ pkg_get_current_version() {
     #       go version go1.14.2 darwin/amd64
     # This trims it down to just the version number:
     #       1.14.2
-    echo "$(go version 2>/dev/null | head -n 1 | cut -d' ' -f3 | sed 's:go::')"
+    echo "$(go version 2> /dev/null | head -n 1 | cut -d' ' -f3 | sed 's:go::')"
 }
 
 pkg_format_cmd_version() {