Skip to content

Commit b60e8d9

Browse files
committed
Add support for Maestro 2.1.0
1 parent 3250c53 commit b60e8d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/maestro/maestro.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const (
1919
runnerDir = ".maestro/maestro-ios-xctest-runner"
2020
)
2121

22-
var supportedVersions = []string{"2.0.9", "2.0.10"}
22+
var supportedVersions = []string{"2.0.9", "2.0.10", "2.1.0"}
2323

2424
func isSupportedVersion(version string) bool {
2525
for _, v := range supportedVersions {
@@ -54,7 +54,7 @@ func RunSetup() error {
5454
fmt.Printf("Detected Maestro: %s\n", version)
5555

5656
if !isSupportedVersion(version) {
57-
return fmt.Errorf("Unsupported Maestro version: %s\n\nSupported versions: 2.0.9, 2.0.10\n\nPlease upgrade or downgrade Maestro to a supported version.", version)
57+
return fmt.Errorf("Unsupported Maestro version: %s\n\nSupported versions: 2.0.9, 2.0.10, 2.1.0\n\nPlease upgrade or downgrade Maestro to a supported version.", version)
5858
}
5959

6060
libPath, err := getLibPath()

0 commit comments

Comments
 (0)