Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1221)

Unified Diff: pkg/analysis_server/lib/src/plugin/server_plugin.dart

Issue 1426353002: Fix glob patterns to work on Windows (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/plugin/server_plugin.dart
diff --git a/pkg/analysis_server/lib/src/plugin/server_plugin.dart b/pkg/analysis_server/lib/src/plugin/server_plugin.dart
index 4aa0c8f4364c3c032c5dbdc5855ee5acc9a7d1c9..b4de83ffef3404312e5bc0470a36a41eb4373aaf 100644
--- a/pkg/analysis_server/lib/src/plugin/server_plugin.dart
+++ b/pkg/analysis_server/lib/src/plugin/server_plugin.dart
@@ -276,10 +276,10 @@ class ServerPlugin implements Plugin {
// Register analyzed file patterns.
//
List<String> patterns = <String>[
- '/**/*.${AnalysisEngine.SUFFIX_DART}',
- '/**/*.${AnalysisEngine.SUFFIX_HTML}',
- '/**/*.${AnalysisEngine.SUFFIX_HTM}',
- '/**/${AnalysisEngine.ANALYSIS_OPTIONS_FILE}'
+ '{*:/,/}**/*.${AnalysisEngine.SUFFIX_DART}',
+ '{*:/,/}**/*.${AnalysisEngine.SUFFIX_HTML}',
+ '{*:/,/}**/*.${AnalysisEngine.SUFFIX_HTM}',
+ '{*:/,/}**/${AnalysisEngine.ANALYSIS_OPTIONS_FILE}'
];
registerExtension(ANALYZED_FILE_PATTERNS_EXTENSION_POINT_ID, patterns);
//
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698