Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit blocker option - No warnings in transformer to publish #375

Merged
merged 3 commits into from
Jul 25, 2016

Conversation

everton-rosario
Copy link
Collaborator

@everton-rosario everton-rosario commented Jul 21, 2016

This PR:

  • Creates a flag in settings "block_publish_with_warnings"
  • Flag defaults to false (disabled)
  • If flag is true and transformer results in warnings, Instant Article is not registered

Depends on SDK: facebookarchive/facebook-instant-articles-sdk-php#154

@@ -25,7 +25,7 @@
"selector" : "span"
}, {
"class": "ParagraphRule",
"selector": "p"
"selector": "pad"
Copy link
Collaborator

Choose a reason for hiding this comment

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

that doesn't look right ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

#fuuuu
that was a test case.
Tks for spotting it :-)

@diegoquinteiro
Copy link
Collaborator

overall it is good, but please fix you test leftover =)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants