Skip to content

Commit

Permalink
Change the type of google3WorkspaceRoot to String.
Browse files Browse the repository at this point in the history
This is a followup to https://dart-review.googlesource.com/c/sdk/+/383901

Remove the temporary backward compatibility now that users of this
function has all been migrated.

Bug: b/364942683
Change-Id: I8f951c6eb143497fb9edbf1465417d121a1cbf72
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384827
Auto-Submit: Chingjun Lau <[email protected]>
Commit-Queue: Ben Konyi <[email protected]>
Reviewed-by: Ben Konyi <[email protected]>
  • Loading branch information
chingjun authored and Commit Queue committed Sep 13, 2024
1 parent 8f6ead1 commit 2483d30
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/dds/lib/dds_launcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,8 @@ class DartDevelopmentServiceLauncher {
bool enableServicePortFallback = false,
List<String> cachedUserTags = const <String>[],
String? dartExecutable,
// TODO(chingjun): Change the type to String once flutter_tools is migrated.
Object? google3WorkspaceRoot,
String? google3WorkspaceRoot,
}) async {
assert(google3WorkspaceRoot == null ||
google3WorkspaceRoot is Uri ||
google3WorkspaceRoot is String);
final process = await Process.start(
dartExecutable ?? Platform.executable,
<String>[
Expand Down

0 comments on commit 2483d30

Please sign in to comment.