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

Use string.prototype.repeat over repeating. #2583

Merged
merged 2 commits into from
Jan 30, 2017
Merged

Use string.prototype.repeat over repeating. #2583

merged 2 commits into from
Jan 30, 2017

Conversation

wtgtybhertgeghgtwtg
Copy link
Contributor

@wtgtybhertgeghgtwtg wtgtybhertgeghgtwtg commented Jan 29, 2017

Summary
Drops the repeating package and uses string.prototype.repeat.

Test plan
Since it's an internal, no tests have been added that strictly test this.
A test has been added so that the affected lines in upgrade-interactive are covered.

@wtgtybhertgeghgtwtg
Copy link
Contributor Author

Tests failing on OSX, can't seem to find /Users/travis/Library/Caches/Yarn/.roadrunner.json.

@Daniel15
Copy link
Member

Just re-ran the build and the tests look fine. Thanks!

@Daniel15 Daniel15 merged commit 864b563 into yarnpkg:master Jan 30, 2017
@wtgtybhertgeghgtwtg wtgtybhertgeghgtwtg deleted the repeating branch January 30, 2017 06:38
ConAntonakos pushed a commit to ConAntonakos/yarn that referenced this pull request Jan 30, 2017
* Use `string.prototype.repeat` over `repeating`.

* Add test for `upgrade-interactive`.
mnsn pushed a commit to mnsn/yarn that referenced this pull request Feb 15, 2017
* Use `string.prototype.repeat` over `repeating`.

* Add test for `upgrade-interactive`.
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.

2 participants