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 utils problem with convertTypes #3033

Merged
merged 1 commit into from
Sep 4, 2018
Merged

Fix utils problem with convertTypes #3033

merged 1 commit into from
Sep 4, 2018

Conversation

NoodlesNZ
Copy link
Contributor

@NoodlesNZ NoodlesNZ commented Aug 30, 2018

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

Fix ReferenceError: utils is not defined when running pulsepoint adapter. Introduced with #2844 (

return utils.convertTypes({
)

@Slind14
Copy link
Contributor

Slind14 commented Aug 30, 2018

Since you asked for feedback on slack. Personally I would just add convertTypes to the import instead of the wildcard import. To keep the original syntax and changes to a minimum.

@NoodlesNZ
Copy link
Contributor Author

Thanks, it could have gone either way. It looked like a lot of other adapters were importing all from utils, so just wanting to follow the pattern.

@mkendall07
Copy link
Member

@prebid/pulsepoint
please review

Copy link
Member

@mkendall07 mkendall07 left a comment

Choose a reason for hiding this comment

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

LGTM

@mkendall07 mkendall07 merged commit ce3fe7d into prebid:master Sep 4, 2018
@NoodlesNZ NoodlesNZ deleted the pulsepoint-fix-utils branch September 10, 2018 02:59
ptomasroos pushed a commit to happypancake/Prebid.js that referenced this pull request Sep 25, 2018
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.

3 participants