@doccov/cli 0.5.4 → 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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -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.config?.docs?.include) {
747
- docsPatterns = configResult.config.docs.include;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doccov/cli",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "DocCov CLI - Documentation coverage and drift detection for TypeScript",
5
5
  "keywords": [
6
6
  "typescript",