You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When committing via the VSCode built in source control panel in my flutter project, the pre-commit fails with following error:
Because emotely depends on flutter_driver from sdk which doesn't exist (the Flutter SDK is not available), version solving failed.
Flutter users should run `flutter pub get` instead of `dart pub get`.
I was able to fix this by replacing the content of the git pre-commit file
#!/bin/shexec dart run dart_pre_commit # specify custom options here
with
#!/bin/shexec flutter pub run dart_pre_commit # specify custom options here
This might be worth adding to the documentation.
The text was updated successfully, but these errors were encountered:
When committing via the VSCode built in source control panel in my flutter project, the pre-commit fails with following error:
I was able to fix this by replacing the content of the git pre-commit file
with
This might be worth adding to the documentation.
The text was updated successfully, but these errors were encountered: