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

Gulp Build: fix installed gulp modules returning placeholder value #7304

Closed
wants to merge 6 commits into from

Conversation

ChrisHuie
Copy link
Collaborator

@ChrisHuie ChrisHuie commented Aug 16, 2021

Change regex to specific string for attempted fix on issue => #7287

@ChrisHuie ChrisHuie changed the title Gulp Build: move gulp file creation above module list pipe function Gulp Build: fix installed gulp modules returning empty array or value that should be replaced Aug 16, 2021
@ChrisHuie ChrisHuie changed the title Gulp Build: fix installed gulp modules returning empty array or value that should be replaced Gulp Build: fix installed gulp modules returning empty array or placeholder value Aug 16, 2021
@ChrisHuie ChrisHuie closed this Aug 17, 2021
@ChrisHuie ChrisHuie reopened this Aug 19, 2021
@ChrisHuie ChrisHuie changed the title Gulp Build: fix installed gulp modules returning empty array or placeholder value Gulp Build: fix installed gulp modules returning placeholder value Aug 19, 2021
Copy link
Contributor

@mmoschovas mmoschovas left a comment

Choose a reason for hiding this comment

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

lgtm

@ChrisHuie ChrisHuie added the needs 2nd review Core module updates require two approvals from the core team label Aug 31, 2021
Copy link
Contributor

@FilipStamenkovic FilipStamenkovic left a comment

Choose a reason for hiding this comment

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

When I do (taken from readme):

gulp build --modules=openxBidAdapter,rubiconBidAdapter,sovrnBidAdapter

My prebid.js is built with following piece of code:

A.installedModules=[""openxBidAdapter","rubiconBidAdapter","sovrnBidAdapter""]

Then, when I try to load that .js in some html page it crashes because of duplicate "".

Doing the same command on master branch it looks fine. Here is what I get on master:

E.installedModules=["openxBidAdapter","rubiconBidAdapter","sovrnBidAdapter"]

@ChrisHuie
Copy link
Collaborator Author

@FilipStamenkovic thank you. Let me check what is going on with the extra quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix build process needs update needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants