@opentermsarchive/engine 15.3.0 → 15.3.1
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.
package/package.json
CHANGED
|
@@ -97,7 +97,7 @@ export default async options => {
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
if (
|
|
100
|
+
if (service) {
|
|
101
101
|
service.getTermsTypes()
|
|
102
102
|
.filter(termsType => {
|
|
103
103
|
if (!service.terms[termsType]?.latest) { // If this terms type has been deleted and there is only a historical record for it, but no current valid declaration
|
|
@@ -126,6 +126,10 @@ export default async options => {
|
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
if (schemaOnly) {
|
|
130
|
+
return; // Remaining checks require fetching the source documents
|
|
131
|
+
}
|
|
132
|
+
|
|
129
133
|
terms.sourceDocuments.forEach(sourceDocument => {
|
|
130
134
|
let filteredContent;
|
|
131
135
|
|