Skip to content
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

The same file can be added to context twice #57

Closed
JonatanE opened this issue Apr 8, 2024 · 6 comments · Fixed by #91
Closed

The same file can be added to context twice #57

JonatanE opened this issue Apr 8, 2024 · 6 comments · Fixed by #91
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@JonatanE
Copy link

JonatanE commented Apr 8, 2024

The same file can be added twice with plandex add.
When plandex rm is run on the filename, it reports removing it twice.

@danenania
Copy link
Contributor

Thanks for reporting @JonatanE. In this case, if the file is outdated, it should alert the user and then update the file rather than adding it again if the user confirms. If the file isn't outdated it should just be a no-op.

I'll get this fixed.

@danenania
Copy link
Contributor

This might also be a good one for a contributor.

@danenania danenania added bug Something isn't working good first issue Good for newcomers labels Apr 8, 2024
@abrl91
Copy link
Contributor

abrl91 commented Apr 9, 2024

Hey @danenania can you assign me to this issue?

@danenania
Copy link
Contributor

@abrl91 Done, thank you!

@abrl91
Copy link
Contributor

abrl91 commented Apr 11, 2024

@danenania
I couldn't reproduce this issue
image

@JonatanE can you provide steps to reproduce?

@JonatanE
Copy link
Author

JonatanE commented Apr 11, 2024

image
image

It also doesn't seem to update and notifies my in every action. I press "y" to update but it doesnt seem to work.

I'm on WSL2, arch linux btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants