Skip to content

Commit

Permalink
Remove unnecessary braces in a string interpolation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bwilkerson authored and commit-bot@chromium.org committed May 6, 2020
1 parent c936e02 commit 4da5b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/lib/src/dart/micro/resolve_file.dart
Expand Up @@ -340,7 +340,7 @@ class FileResolver {
if (workspace is WorkspaceWithDefaultAnalysisOptions) {
var separator = resourceProvider.pathContext.separator;
if (path
.contains('${separator}third_party${separator}dart${separator}')) {
.contains('${separator}third_party${separator}dart$separator')) {
source = sourceFactory
.forUri(WorkspaceWithDefaultAnalysisOptions.thirdPartyUri);
} else {
Expand Down

0 comments on commit 4da5b40

Please sign in to comment.