Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4da5b40

Browse files
bwilkersoncommit-bot@chromium.org
authored andcommitted
Remove unnecessary braces in a string interpolation
Change-Id: I16d86df473e054a5f17b6c72f155467618ef0307 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/146823 Auto-Submit: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Keerti Parthasarathy <keertip@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
1 parent c936e02 commit 4da5b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyzer/lib/src/dart/micro/resolve_file.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ class FileResolver {
340340
if (workspace is WorkspaceWithDefaultAnalysisOptions) {
341341
var separator = resourceProvider.pathContext.separator;
342342
if (path
343-
.contains('${separator}third_party${separator}dart${separator}')) {
343+
.contains('${separator}third_party${separator}dart$separator')) {
344344
source = sourceFactory
345345
.forUri(WorkspaceWithDefaultAnalysisOptions.thirdPartyUri);
346346
} else {

0 commit comments

Comments
 (0)