File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1873,10 +1873,6 @@ if ${ISINTERACTIVESHELL} ; then
1873
1873
r=$?
1874
1874
[[ ${r} -ne 0 ]] && exit 6
1875
1875
1876
- checkJQVersion
1877
- r=$?
1878
- [[ ${r} -ne 0 ]] && exit 6
1879
-
1880
1876
# Sanitize the displayed sub-command:
1881
1877
SUB_COMMAND_FOR_DISPLAY=${SUB_COMMAND}
1882
1878
case ${SUB_COMMAND} in
@@ -1888,6 +1884,15 @@ if ${ISINTERACTIVESHELL} ; then
1888
1884
;;
1889
1885
esac
1890
1886
1887
+ # Don't check JQ version if we're notifying.
1888
+ # Why do this, you might ask?
1889
+ # Because it's easier to hack our code than to get Broad IT to update software on our servers.
1890
+ if [[ " ${SUB_COMMAND_FOR_DISPLAY} " != " notify" ]] ; then
1891
+ checkJQVersion
1892
+ r=$?
1893
+ [[ ${r} -ne 0 ]] && exit 6
1894
+ fi
1895
+
1891
1896
# Handle specific sub-command args and and call our sub-command:
1892
1897
error " Sub-Command: ${SUB_COMMAND_FOR_DISPLAY} "
1893
1898
case ${SUB_COMMAND} in
You can’t perform that action at this time.
0 commit comments