cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / watchexec / install.sh
index c51a649b13296d44bc236b257629019f2481fe43..99d4f0db286e64b20379983160f1b8d5edb2e3c7 100644 (file)
     # pkg_get_current_version is recommended, but (soon) not required
     pkg_get_current_version() {
         # 'watchexec --version' has output in this format:
-        #       watchexec 0.99.9 
+        #       watchexec 0.99.9
         # This trims it down to just the version number:
         #       0.99.9
-        echo $(watchexec --version 2>/dev/null | head -n 1 | cut -d ' ' -f 2)
+        echo $(watchexec --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
     }
 
 }