Browse Source

Merge pull request #771 from nextcloud/fix/husky-dart-sdk

fix(tool): Use correct Dart SDK for husky
pull/772/head
Kate 1 year ago committed by GitHub
parent
commit
aba0b15ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .husky/commit-msg
  2. 2
      tool/setup.sh

2
.husky/commit-msg

@ -1,4 +1,4 @@
#!/usr/bin/env sh #!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh" . "$(dirname -- "$0")/_/husky.sh"
dart run commitlint_cli --edit "$1" fvm dart run commitlint_cli --edit "$1"

2
tool/setup.sh

@ -8,4 +8,4 @@ for package in $(yq -r ".dev_dependencies | keys | .[]" pubspec.yaml); do
done done
echo "y" | fvm install echo "y" | fvm install
melos bootstrap melos bootstrap
dart run husky install fvm dart run husky install

Loading…
Cancel
Save