Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yarnpkg/yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian McKenzie committed Oct 15, 2016
2 parents cefa9a3 + 383273c commit b5087a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registries/npm-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ export default class NpmRegistry extends Registry {

async getPossibleConfigLocations(filename: string): Promise<Array<[boolean, string, string]>> {
const possibles = [
[false, path.join(getGlobalPrefix(), filename)],
[true, path.join(userHome, filename)],
[false, path.join(this.cwd, filename)],
[true, path.join(userHome, filename)],
[false, path.join(getGlobalPrefix(), filename)],
];

const foldersFromRootToCwd = this.cwd.split(path.sep);
Expand Down

0 comments on commit b5087a2

Please sign in to comment.