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

Bundle builder now uses same regexp for copyrights as uglifier task #275

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

codeworrior
Copy link
Member

Fixes https://github.com/SAP/ui5-builder/issues/257 .

Thank you for your contribution! 🙌

To get it merged faster, kindly review the checklist below:

Pull Request Checklist

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.

Please prefix your commit message with [FIX] as documented here

@coveralls
Copy link

coveralls commented Jun 25, 2019

Coverage Status

Coverage increased (+0.02%) to 85.948% when pulling 39e7903 on fix-bundler-copyright-regexp into f27f903 on master.

@@ -19,7 +19,7 @@ const {SectionType} = require("./BundleDefinition");
const BundleWriter = require("./BundleWriter");
const log = require("@ui5/logger").getLogger("lbt:bundle:Builder");

const copyrightCommentsPattern = /copyright|\(c\)|released under|license|\u00a9/i;
Copy link
Member

Choose a reason for hiding this comment

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

What about the AutoSplitter.js?
It also has a "copyrightCommentsPattern" with the shorter RegExp

@codeworrior codeworrior requested a review from matz3 June 27, 2019 10:21
@matz3 matz3 dismissed RandomByte’s stale review June 27, 2019 11:00

Already adressed

@codeworrior codeworrior merged commit bd7aa40 into master Jun 27, 2019
@matz3 matz3 deleted the fix-bundler-copyright-regexp branch July 1, 2019 11:14
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.

Legacy Bundling Tool includes "some" JSDoc comments
4 participants