repomix icon indicating copy to clipboard operation
repomix copied to clipboard

`"fileSummary": false` doesn't work

Open mapleroyal opened this issue 10 months ago • 4 comments

Despite setting "fileSummary": false, in repomix.config.json I'm still getting the file summary above the # Directory Structure.

The rest of the config seems to be working:

{
  "output": {
    "filePath": "repomix-output.md",
    "style": "markdown",
    "parsableStyle": false,
    "fileSummary": false,
    "directoryStructure": true,
    "removeComments": false,
    "removeEmptyLines": false,
    "compress": false,
    "topFilesLength": 5,
    "showLineNumbers": false,
    "copyToClipboard": false
  },
  "include": [],
  "ignore": {
    "useGitignore": true,
    "useDefaultPatterns": true,
    "customPatterns": [
      "**/*.{md,svg}",
      "eslint.config.js",
      "package.json",
      "repomix.config.json",
      "CODEOWNERS",
      "**/.*"
    ]
  },
  "security": {
    "enableSecurityCheck": true
  }
}

mapleroyal avatar Mar 04 '25 02:03 mapleroyal

Hi, @mapleroyal ! Thank you for reporting this issue! After investigating, we've identified that this problem affects not just fileSummary but several other --no-* style cli options in the configuration as well.

This will be corrected in the next release. Thank you for bringing this to our attention!

yamadashy avatar Mar 04 '25 14:03 yamadashy

@mapleroyal We've fixed the issue with "fileSummary": false not working in the config file in our latest release. https://github.com/yamadashy/repomix/releases/tag/v0.2.34

This fix addresses not just the fileSummary setting but also similar boolean options that were affected by the same underlying issue.

Thank you for reporting this problem!

yamadashy avatar Mar 04 '25 15:03 yamadashy

@mapleroyal We've fixed the issue with "fileSummary": false not working in the config file in our latest release. https://github.com/yamadashy/repomix/releases/tag/v0.2.34

This fix addresses not just the fileSummary setting but also similar boolean options that were affected by the same underlying issue.

Thank you for reporting this problem!

Incredible. If I use npx repomix today, will it use the latest fixes?

mapleroyal avatar Mar 04 '25 16:03 mapleroyal

@mapleroyal Please check by running npx repomix -v, and if it is not version 0.2.34, update it explicitly with npm update -g repomix. npx repomix is a possibility that it may not be updated automatically.

yamadashy avatar Mar 04 '25 16:03 yamadashy