-
-
Notifications
You must be signed in to change notification settings - Fork 117
fix: include package.json in npm_sources #1919
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
base: main
Are you sure you want to change the base?
Conversation
|
Can you write a test demonstrating the issue and confirming the change fixes it? I think we'll want to find a solution not involving |
@jbedard Sorry, it's a little time-consuming to write a test for this one; I don't have capacity at the moment. More specifically, the issue occurs when you try to use a linked |
@@ -402,6 +402,12 @@ deps of npm_package_store must be in the same package.""" % (ctx.label.package, | |||
for npm_package_store_info in npm_package_store_infos: | |||
transitive_files_depsets.append(npm_package_store_info.files) | |||
|
|||
for jsinfo in js_infos: | |||
for source in jsinfo.sources.to_list(): |
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.
We can't use to_list()
like this and will need a better solution if a fix like this is required
Fixed: #1918