-
Notifications
You must be signed in to change notification settings - Fork 131
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
settings: Make root modules configurable #198
Conversation
1b15cb6
to
b471876
Compare
b471876
to
ce9337d
Compare
This comment has been minimized.
This comment has been minimized.
ce9337d
to
8bd954d
Compare
This comment has been minimized.
This comment has been minimized.
8bd954d
to
3805145
Compare
3805145
to
f183ba7
Compare
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.
minor nitpick
@@ -198,3 +199,15 @@ func RootModuleWalker(ctx context.Context) (*rootmodule.Walker, error) { | |||
} | |||
return w, nil | |||
} | |||
|
|||
func WithRootModuleLoader(rml rootmodule.RootModuleLoader, ctx context.Context) context.Context { |
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.
Nit, make ctx
first argument
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.
Yeah, I don't disagree, but I think I'd prefer to change all of the With*
functions at the same time and perhaps do that in a separate PR, if that's ok and follow the same pattern throughout the package for now?
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Depends on #196
Closes #189
Related: hashicorp/vscode-terraform#423