Skip to content

Commit 210987c

Browse files
committed
Fix FVM version not installed detection
1 parent 2a11e07 commit 210987c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.38.1
2+
3+
- Fixes FVM version not installed detection
4+
15
## 1.38.0
26

37
- Adds support for workspaces

bin/commands.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ abstract class Commands {
6565
static bool shouldKill(Project project, Command command, String line) {
6666
if (project.fvm) {
6767
final flutterVersionNotInstalledMatch =
68-
RegExp(r'Flutter SDK: SDK Version : (.+?) is not installed\.')
69-
.firstMatch(line);
68+
RegExp(r'Flutter SDK: (.+?) is not installed\.').firstMatch(line);
7069
if (flutterVersionNotInstalledMatch != null) {
7170
// FVM will ask for input from the user, kill the process to avoid
7271
// hanging

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: puby
22
description: Run commands in all projects in the current directory. Handle monorepos with ease.
3-
version: 1.38.0
3+
version: 1.38.1
44
homepage: https://github.com/Rexios80/puby
55

66
environment:

0 commit comments

Comments
 (0)