| Index: pkg/analysis_server/lib/src/context_manager.dart
|
| diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart
|
| index e9d4573cd8161e2e262cc654cbdde553c0b8bd81..fc42e65f557783e88d1d5fa879729d2f1784f004 100644
|
| --- a/pkg/analysis_server/lib/src/context_manager.dart
|
| +++ b/pkg/analysis_server/lib/src/context_manager.dart
|
| @@ -283,7 +283,7 @@ abstract class ContextManager {
|
| * Resursively adds all Dart and HTML files to the [changeSet].
|
| */
|
| void _addSourceFiles(ChangeSet changeSet, Folder folder, _ContextInfo info) {
|
| - if (info.excludesResource(folder)) {
|
| + if (info.excludesResource(folder) || folder.shortName.startsWith('.')) {
|
| return;
|
| }
|
| List<Resource> children = folder.getChildren();
|
| @@ -662,7 +662,7 @@ class _ContextInfo {
|
| }
|
|
|
| /**
|
| - * Returns `true` if [resource] is excldued, as it is in one of the children.
|
| + * Returns `true` if [resource] is excluded, as it is in one of the children.
|
| */
|
| bool excludesResource(Resource resource) {
|
| return excludes(resource.path);
|
|
|