]> git.immae.eu Git - github/fretlink/ansible-clever.git/blobdiff - tests/fake.sh
fix(test): log all commads to `$binary-commands`
[github/fretlink/ansible-clever.git] / tests / fake.sh
index 0303b61cbeff465187a066b689d78affee67f4f4..65ff819ffd4b538c71d5dc91ed89829dc9fbf673 100755 (executable)
@@ -13,6 +13,7 @@ elif [ "${binary}" = "clever" ] && [ "${1}" = "status" ]; then
 elif [ "${binary}" = "git" ]; then
     echo "${localCommit}"
 else
-    echo "${1}" >> "${binary}-commands"
     echo "${binary} called with arguments: ${*}"
 fi
+
+echo "${1}" >> "${binary}-commands"