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

[FIX] Don't report a missing module that's contained in another bundle #915

Merged

Conversation

codeworrior
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Jul 10, 2023

Coverage Status

coverage: 94.603% (+0.01%) from 94.589% when pulling 1c90f2a on do-not-report-modules-from-non-decomposable-bundles-as-missing into 41fa2d6 on main.

lib/lbt/bundle/Resolver.js Outdated Show resolved Hide resolved
Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

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

LGTM, just a small remark

@@ -51,6 +51,16 @@ class BundleResolver {
let selectedResources = Object.create(null);
let selectedResourcesSequence = [];
const pool = this.pool;
/**
* Names of modules that are required in some waym but could not be found
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Names of modules that are required in some waym but could not be found
* Names of modules that are required in some way but could not be found

Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

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

Tested locally with self-contained build in openui5-sample-app with a dependency to latest sap.viz snapshot

@RandomByte
Copy link
Member

Merging this PR even with the failing tests as they are known false-positives.

@RandomByte RandomByte merged commit 8f23f38 into main Jul 12, 2023
@RandomByte RandomByte deleted the do-not-report-modules-from-non-decomposable-bundles-as-missing branch July 12, 2023 19:25
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.

4 participants