Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enables finding project without a previous FVM config based on pubspec.yaml. #646

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.10

* Re-enables finding project without a previous FVM config based on pubspec.yaml.

## 3.0.9

* Adds .gitignore even if project is not a git repository. As IDEs and tools use it as a reference for project indexing.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/services/project_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ProjectService extends ContextService {
if (project.hasConfig) return project;

// if project has a pubspec file return it
// if (project.hasPubspec) return project;
if (project.hasPubspec) return project;

// Return working directory if has reached root
if (isRootDir) return Project.loadFromPath(context.workingDirectory);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fvm
description: A simple cli to manage Flutter SDK versions per project. Support
channels, releases, and local cache for fast switching between versions.
version: 3.0.9
version: 3.0.10
homepage: https://github.com/leoafarias/fvm

environment:
Expand Down
Loading