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

(GH-6) Correctly tokenize chaining arrows #11

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

glennsarti
Copy link
Contributor

@glennsarti glennsarti commented Oct 25, 2018

Previously chaining arrows were not accounted for, which broke tokenization
after them. This commit adds the correct patterns for the arrows. The class
regex was changed as using ^ is incorrect, it should really be looking for
word boundaries. This commit also adds tests for the chaining arrows.

Fixes #6


Reminder

  • Added Tests

  • Ran npm run convert and committed the changes too

Previously chaining arrows were not accounted for, which broke tokenization
after them.  This commit adds the correct patterns for the arrows.  The class
regex was changed as using `^` is incorrect, it should really be looking for
word boundaries.  This commit also adds tests for the chaining arrows.
@glennsarti
Copy link
Contributor Author

Before:
image

After:
image

@jpogran jpogran self-requested a review October 25, 2018 14:40
@jpogran jpogran added the bug Something isn't working label Oct 25, 2018
@jpogran jpogran added this to In progress in 0.13.1 Marketplace Release via automation Oct 25, 2018
@jpogran jpogran added this to the 0.1.0 milestone Oct 25, 2018
Copy link
Contributor

@jpogran jpogran left a comment

Choose a reason for hiding this comment

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

shipit

0.13.1 Marketplace Release automation moved this from In progress to Reviewer approved Oct 25, 2018
@jpogran jpogran merged commit 0f3d12d into puppetlabs:master Oct 25, 2018
0.13.1 Marketplace Release automation moved this from Reviewer approved to Done Oct 25, 2018
@glennsarti glennsarti deleted the gh-6-chainingarrows branch November 23, 2018 02:53
@jpogran jpogran removed this from Done in 0.13.1 Marketplace Release Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants