Skip to content

Commit d4514be

Browse files
jcollins-gcommit-bot@chromium.org
authored and
commit-bot@chromium.org
committed
Bypass pub constraint validation for dartfix 0.1.7.
Using this in lieu of the previous dartfix pubspec commit for 0.1.7; pub no longer allows pinning to specific versions of dependencies. So, create a constraint that technically allows a range but in practice won't. Change-Id: Ifc5cb1eeb733d1aafbf88c1d4cd7a602834e5b89 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/147220 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Janice Collins <jcollins@google.com> Auto-Submit: Janice Collins <jcollins@google.com>
1 parent 30da9d5 commit d4514be

File tree

3 files changed

+1
-27
lines changed

3 files changed

+1
-27
lines changed

pkg/dartfix/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ executables:
1414
dependencies:
1515
# Pin to an exact version of analysis_server_client because the edit.dartfix
1616
# protocol is experimental and will continue to evolve.
17-
analysis_server_client: 1.1.3
17+
analysis_server_client: '>=1.1.3 <1.1.4'
1818
args: ^1.4.0
1919
cli_util: ^0.1.3
2020
path: ^1.7.0

pkg/dartfix/test/src/client_version_test.dart

Lines changed: 0 additions & 24 deletions
This file was deleted.

pkg/dartfix/test/test_all.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import 'package:test/test.dart';
66

7-
import 'src/client_version_test.dart' as client_version;
87
import 'src/driver_example_test.dart' as driver_example;
98
import 'src/driver_exclude_test.dart' as driver_exclude;
109
import 'src/driver_help_test.dart' as driver_help;
@@ -16,7 +15,6 @@ import 'src/migrate_command_test.dart' as migrate_command_test;
1615
import 'src/options_test.dart' as options_test;
1716

1817
void main() {
19-
group('version', client_version.main);
2018
group('driver', driver_example.main);
2119
group('driver', driver_exclude.main);
2220
group('driver', driver_help.main);

0 commit comments

Comments
 (0)