feat: add replace mode.

master
DebuggerX 4 years ago
parent 97609a0a45
commit 8d14562177

@ -14,10 +14,8 @@ done
if [[ ! -x "$DART_EXE" ]]; then if [[ ! -x "$DART_EXE" ]]; then
echo "Can't find dart executable file !" echo "Can't find dart executable file !"
return 1
fi fi
if [[ -f "./.hooks/pre_script.dart" ]]; then if [[ -f "./.hooks/pre_script.dart" ]]; then
${DART_EXE} ./.hooks/pre_script.dart "$@" ${DART_EXE} ./.hooks/pre_script.dart "$@"
fi fi

Loading…
Cancel
Save