Skip to content

module: remove deadcode for parsing error#1708

Open
giautm wants to merge 2 commits intohashicorp:mainfrom
giautm:g/module
Open

module: remove deadcode for parsing error#1708
giautm wants to merge 2 commits intohashicorp:mainfrom
giautm:g/module

Conversation

@giautm
Copy link
Copy Markdown
Contributor

@giautm giautm commented May 15, 2024

No description provided.

@giautm giautm requested a review from a team as a code owner May 15, 2024 13:09
}

sErr := modStore.UpdateParsedVarsFiles(modPath, files, err)
sErr := modStore.UpdateParsedVarsFiles(modPath, files)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See L507, the err always nil

@giautm
Copy link
Copy Markdown
Contributor Author

giautm commented May 19, 2024

cc @dbanck, here is another PR.

@dbanck
Copy link
Copy Markdown
Member

dbanck commented May 22, 2024

I've seen this PR, thank you for raising it.

I'm still thinking about whether we should stop collecting the parsing error or rather want to remove the early return in L507.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants