feat: add replace mode.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user