Skip to content

Commit

Permalink
Fixes yarn init showing [object Object] (yarnpkg#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
krsjoseph authored and Constantine Antonakos committed Jan 30, 2017
1 parent 265f3ae commit 5002cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/normalize-manifest/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function extractDescription(readme: mixed): ?string {


export function extractRepositoryUrl(repository: mixed): any {
if (!repository || typeof repository !== 'object' || !repository.url) {
if (!repository || typeof repository !== 'object') {
return repository;
}
return repository.url;
Expand Down

0 comments on commit 5002cde

Please sign in to comment.