@fornari-lanza/domain-design-language-language 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -66,7 +66,7 @@ export class DomainDesignLanguageScopeProvider extends DefaultScopeProvider {
|
|
|
66
66
|
this.indexManager
|
|
67
67
|
.allElements('BoundedContext')
|
|
68
68
|
.forEach((description) => {
|
|
69
|
-
if (/\/
|
|
69
|
+
if (/\/BoundedContexts\/[^/]+\.ddd$/i.test(description.documentUri.path))
|
|
70
70
|
uris.add(description.documentUri.toString());
|
|
71
71
|
});
|
|
72
72
|
return uris;
|
package/package.json
CHANGED
|
@@ -119,7 +119,7 @@ export class DomainDesignLanguageScopeProvider extends DefaultScopeProvider {
|
|
|
119
119
|
this.indexManager
|
|
120
120
|
.allElements('BoundedContext')
|
|
121
121
|
.forEach((description) => {
|
|
122
|
-
if (/\/
|
|
122
|
+
if (/\/BoundedContexts\/[^/]+\.ddd$/i.test(description.documentUri.path))
|
|
123
123
|
uris.add(description.documentUri.toString());
|
|
124
124
|
});
|
|
125
125
|
return uris;
|