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

[CDF-23165] 😳Regression fix #1212

Merged
merged 5 commits into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cognite_toolkit/_cdf_tk/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ def _build_module_resources(
built_resources = BuiltResourceList[Hashable]()
for destination in builder.build(source_files, module):
if not isinstance(destination, BuildDestinationFile):
# is warnings
self.warning_list.extend(destination)
for warning in destination:
self.warn(warning)
continue
if Flags.REQUIRE_KIND.is_enabled() and destination.loader is FileLoader:
# This is a content file that we should not copy to the build directory.
Expand Down