-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Do not ignore pkg folder (#4483) #4505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 2b49178 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR ensures that files within the pkg
directory are no longer ignored when listing project files.
- Removed
pkg
from the default ignore list in the globbing service - Added a changeset to document this bugfix
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/services/glob/list-files.ts | Removed "pkg" from DEFAULT_IGNORE_DIRECTORIES to allow including files under pkg |
.changeset/perfect-buses-talk.md | Created a patch changeset summarizing the removal of pkg from ignores |
Comments suppressed due to low confidence (2)
src/services/glob/list-files.ts:20
- Add or update tests to cover listing files in the
pkg
directory to ensure this change behaves as expected.
"deps",
.changeset/perfect-buses-talk.md:2
- The changeset references
claude-dev
as the package name; ensure this matches the actual package name (e.g.,cline
) in your repository configuration.
"claude-dev": patch
Any update on this please? |
Hey @akshaybabloo thank you so much for the contribution! I agree that |
@saoudrizwan Done |
this has been updated! |
Related Issue
closes #4483
Description
In Go, pkg is used to add general/common code used across the code base. Ignoring this causes Cline not to list any files in the
pkg
folder.Test Procedure
.
folderpkg/
without any files in itpkg/
create a new folder with file calledhello/default.go
(or anything)main.go
Type of Change
Pre-flight Checklist
npm test
) and code is formatted and linted (npm run format && npm run lint
)npm run changeset
(required for user-facing changes)Screenshots
N/A
Additional Notes
N/A
Important
Removes
pkg
from ignore list inlist-files.ts
, allowing files inpkg
directory to be listed.pkg
fromDEFAULT_IGNORE_DIRECTORIES
inlist-files.ts
, allowing files inpkg
directory to be listed.pkg
directory and verifying files are listed.This description was created by
for 70e1eb1. You can customize this summary. It will automatically update as commits are pushed.