5etools-utils 0.15.13 → 0.15.14
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/lib/TestData.js +6 -0
- package/package.json +1 -1
package/lib/TestData.js
CHANGED
|
@@ -89,6 +89,12 @@ class DataTesterBase {
|
|
|
89
89
|
handleFile (filePath, contents) { /* Implement as required */ }
|
|
90
90
|
|
|
91
91
|
async pHandleFile (filePath, contents) { /* Implement as required */ }
|
|
92
|
+
|
|
93
|
+
/* -------------------------------------------- */
|
|
94
|
+
|
|
95
|
+
_isNonSiteData (filePath, contents) {
|
|
96
|
+
return !!contents._meta?.sources?.length;
|
|
97
|
+
}
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
class BraceCheck extends DataTesterBase {
|