Skip to content

Commit

Permalink
Don't let an authorization be empty
Browse files Browse the repository at this point in the history
It create problems with some servers like ProGet when used as a nuget
cache.

It's most likely the source of yarnpkg#825 and yarnpkg#1260
  • Loading branch information
vbfox committed Oct 22, 2016
1 parent f71a70d commit aae4041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registries/npm-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default class NpmRegistry extends Registry {
}
}

return '';
return undefined;
}

getScopedOption(scope: string, option: string): mixed {
Expand Down

0 comments on commit aae4041

Please sign in to comment.