@nerdwallet/shepherd
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -0,1 +1,8 @@ | ||
## [1.8.1](https://github.com/NerdWalletOSS/shepherd/compare/v1.8.0...v1.8.1) (2020-05-28) | ||
### Bug Fixes | ||
* use case-insensitive compare for repo names ([#192](https://github.com/NerdWalletOSS/shepherd/issues/192)) ([a9ada15](https://github.com/NerdWalletOSS/shepherd/commit/a9ada15c71509ecb087f52b2de2f1db66de86c33)) | ||
# [1.8.0](https://github.com/NerdWalletOSS/shepherd/compare/v1.7.2...v1.8.0) (2020-05-04) | ||
@@ -2,0 +9,0 @@ |
@@ -108,3 +108,7 @@ "use strict"; | ||
reposEqual(repo1, repo2) { | ||
return repo1.owner === repo2.owner && repo1.name === repo2.name; | ||
// GitHub ignores case when differentiating organizations and repos, so we | ||
// can safely use a case-insensitive compare to make things slightly easier | ||
// for users who might be using a case-insensitive name on the command line. | ||
return (repo1.owner.toLowerCase() === repo2.owner.toLowerCase() && | ||
repo1.name.toLowerCase() === repo2.name.toLowerCase()); | ||
} | ||
@@ -111,0 +115,0 @@ stringifyRepo({ owner, name }) { |
{ | ||
"name": "@nerdwallet/shepherd", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "A utility for applying code changes across many repositories", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
173603
2037