chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / jq / install.sh
index a15919db85370110cd548eb44b430abd582ae7f5..205ea1bb3956ff44fbf56ed276a998278e39d4b9 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_jq() {
     set -e
     set -u
 
@@ -18,3 +18,5 @@
         echo $(jq --version 2> /dev/null | head -n 1 | sed 's:^jq-::')
     }
 }
+
+__init_jq