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

Go generate seems to be not picking up latest changes from the current project directory, somehow .git directory seems to overshadow the current project directory #345

Closed
1 task done
kavinbalagen opened this issue Mar 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kavinbalagen
Copy link

Terraform CLI and terraform-plugin-docs Versions

Terraform v1.6.2

Provider Code

n/a

Expected Behavior

the markdowns generated need to reflect the source from the current project directory

Actual Behavior

somehow old changes from .git directory seems to shadow current project directory's latest changes

Steps to Reproduce

using tools.go method. so we use 'go generate'

How much impact is this issue causing?

Low

Logs

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kavinbalagen kavinbalagen added the bug Something isn't working label Mar 19, 2024
@bflad
Copy link
Member

bflad commented Mar 20, 2024

Hi @kavinbalagen 👋 Thank you for raising this and sorry you ran into trouble here.

I think we will need some additional information about your setup to reproduce this sort of issue. If you can provide us with step-by-step reproduction instructions, we can take a deeper look.

As far as I am aware, this tool has no special awareness of Git nor the .git directory, so I would ensure that any staged changes are actually saved to disk as expected prior to calling this tool.

@bflad
Copy link
Member

bflad commented Apr 26, 2024

Hi again @kavinbalagen 👋 Since we haven't heard back from you, I'm going to close this issue for now, but if you can provide the additional information please reach out and we can take a fresh look.

@bflad bflad closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants