feat: add replace mode.
This commit is contained in:
@@ -14,10 +14,8 @@ done
|
||||
|
||||
if [[ ! -x "$DART_EXE" ]]; then
|
||||
echo "Can't find dart executable file !"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
if [[ -f "./.hooks/pre_script.dart" ]]; then
|
||||
${DART_EXE} ./.hooks/pre_script.dart "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user