@7365admin1/module-hygiene 4.3.0 → 4.4.0

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/dist/index.mjs CHANGED
@@ -1062,6 +1062,11 @@ function useAreaService() {
1062
1062
  skippedRows.push(i + 1);
1063
1063
  continue;
1064
1064
  }
1065
+ if (areaName.startsWith("Sample:")) {
1066
+ logger5.warn(`Skipping row ${i + 1} with sample area: ${areaName}`);
1067
+ skippedRows.push(i + 1);
1068
+ continue;
1069
+ }
1065
1070
  try {
1066
1071
  const insertedId = await _createArea({
1067
1072
  type: areaType,
@@ -1606,6 +1611,11 @@ function useUnitService() {
1606
1611
  skippedRows.push(i + 1);
1607
1612
  continue;
1608
1613
  }
1614
+ if (unitName.startsWith("Sample:")) {
1615
+ logger9.warn(`Skipping row ${i + 1} with sample unit: ${unitName}`);
1616
+ skippedRows.push(i + 1);
1617
+ continue;
1618
+ }
1609
1619
  try {
1610
1620
  const insertedId = await _createUnit({
1611
1621
  name: unitName,