From 6876bc6f68e601cb61c24bfc276e164ec73c9c69 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 15 Sep 2023 13:21:43 +0200 Subject: [PATCH] fix(tool): Use correct Dart SDK for husky Signed-off-by: jld3103 --- .husky/commit-msg | 2 +- tool/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 48ebb932..a4c6f295 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -dart run commitlint_cli --edit "$1" +fvm dart run commitlint_cli --edit "$1" diff --git a/tool/setup.sh b/tool/setup.sh index 2daefe98..3d92fae1 100755 --- a/tool/setup.sh +++ b/tool/setup.sh @@ -8,4 +8,4 @@ for package in $(yq -r ".dev_dependencies | keys | .[]" pubspec.yaml); do done echo "y" | fvm install melos bootstrap -dart run husky install +fvm dart run husky install