@cparra/apexdocs 3.17.1-beta.4 → 3.17.1-beta.5
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/cli/generate.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1421,6 +1421,8 @@ var __async$5 = (__this, __arguments, generator) => {
|
|
|
1421
1421
|
});
|
|
1422
1422
|
};
|
|
1423
1423
|
const noopReflectionDebugLogger = {
|
|
1424
|
+
onStart: () => {
|
|
1425
|
+
},
|
|
1424
1426
|
onSuccess: () => {
|
|
1425
1427
|
},
|
|
1426
1428
|
onFailure: () => {
|
|
@@ -1483,6 +1485,7 @@ function reflectApexSourceBestEffort(apexBundles, config, debugLogger = noopDebu
|
|
|
1483
1485
|
return _function.pipe(
|
|
1484
1486
|
apexBundles,
|
|
1485
1487
|
A__namespace.traverse(Ap)((bundle) => {
|
|
1488
|
+
debugLogger.onStart(bundle.filePath);
|
|
1486
1489
|
return _function.pipe(
|
|
1487
1490
|
reflectBundle$2(bundle),
|
|
1488
1491
|
TE__namespace.map((parsed) => {
|
|
@@ -1512,6 +1515,7 @@ function reflectApexSourceBestEffort(apexBundles, config, debugLogger = noopDebu
|
|
|
1512
1515
|
try {
|
|
1513
1516
|
const results = yield Promise.allSettled(
|
|
1514
1517
|
apexBundles.map((bundle) => __async$5(null, null, function* () {
|
|
1518
|
+
debugLogger.onStart(bundle.filePath);
|
|
1515
1519
|
return yield pool.run({ content: bundle.content });
|
|
1516
1520
|
}))
|
|
1517
1521
|
);
|
|
@@ -4789,6 +4793,9 @@ function createReflectionDebugLogger(logger) {
|
|
|
4789
4793
|
return noopReflectionDebugLogger;
|
|
4790
4794
|
}
|
|
4791
4795
|
return {
|
|
4796
|
+
onStart: (filePath) => {
|
|
4797
|
+
logger.debug(`Parsing: ${filePath}...`);
|
|
4798
|
+
},
|
|
4792
4799
|
onSuccess: (filePath) => {
|
|
4793
4800
|
logger.debug(`Parsing: ${filePath} OK`);
|
|
4794
4801
|
},
|