@doccov/cli 0.5.3 → 0.5.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.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -743,8 +743,8 @@ function registerDiffCommand(program, dependencies = {}) {
|
|
|
743
743
|
let docsPatterns = options.docs;
|
|
744
744
|
if (!docsPatterns || docsPatterns.length === 0) {
|
|
745
745
|
const configResult = await loadDocCovConfig(process.cwd());
|
|
746
|
-
if (configResult
|
|
747
|
-
docsPatterns = configResult.
|
|
746
|
+
if (configResult?.docs?.include) {
|
|
747
|
+
docsPatterns = configResult.docs.include;
|
|
748
748
|
log(chalk2.gray(`Using docs patterns from config: ${docsPatterns.join(", ")}`));
|
|
749
749
|
}
|
|
750
750
|
}
|