Skip to content

listFiles(): Do not ignore directory (or error out) if dirPath "IS" an ignored directory. #502

@ETdoFresh

Description

@ETdoFresh

Which API Provider are you using?

DeepSeek

Which Model are you using?

deepseek-chat

What happened?

In the following Roo-Code code, we are ignoring directory, but in my/deepseek's case, we were trying to get the contents of directory ./dist.

https://github.com/RooVetGit/Roo-Code/blob/0d6f928f9fb98b2e53f30d30b7fe5146ee1d799a/src/services/glob/list-files.ts#L6C1-L37C32

I think if the directory specified is an "ignored directory", we either output an error OR override, and actually list the files. I'm not sure what is best, but just ignoring alone confuses the A.I. and me! :)

Thanks for looking at this! - ET

Steps to reproduce

  1. Put some files in ./dist
  2. Ask Roo-Code to list files in ./dist
  3. Roo-Code will not see files

Image

Relevant API REQUEST output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions