Skip to content

Commit

Permalink
[ CLI ] Update dart create templates to support SDK version >=3.0.0…
Browse files Browse the repository at this point in the history
…-dev < 4.0.0

Fixes #50635

Change-Id: I7a0fcc95220a7402ff9462d9837e93a2e21f4688
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275040
Reviewed-by: Michael Thomsen <[email protected]>
Commit-Queue: Ben Konyi <[email protected]>
  • Loading branch information
bkonyi authored and Commit Queue committed Dec 12, 2022
1 parent 1859824 commit e3ab2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dartdev/lib/src/templates/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import '../sdk.dart';

String get sdkConstraint => "sdk: '>=${sdk.version} <3.0.0'";
String get sdkConstraint => "sdk: '>=${sdk.version} <4.0.0'";

const String gitignore = '''
# https://dart.dev/guides/libraries/private-files
Expand Down

0 comments on commit e3ab2fc

Please sign in to comment.