@ -626,7 +626,7 @@ function version {
function parse_options {
HEREDOC=false
if [[ $# == 0 ]]; then
if [[ -t 0 ]]; then
if [[ -t 0 || -v CHILD_PROCESS ]]; then
>&2 echo 'ERROR: script expected!'
builtin exit 2
else
@ -28,7 +28,7 @@ function dev_mode {
local hook="$target"/.git/hooks/pre-push
cat >"$hook" <<EOF
#!/usr/bin/env bash
#!/usr/bin/sh
test/miaou-bash.test.bash
EOF
chmod +x "$hook"