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

Adding verbose output for config file search #3236

Merged
merged 1 commit into from
Apr 26, 2017
Merged

Adding verbose output for config file search #3236

merged 1 commit into from
Apr 26, 2017

Conversation

denniswebb
Copy link
Contributor

Summary
Adds output of possible and found config files for .npmrc and .yarnrc when running yarn with --verbose.

This would've helped troubleshoot #3136

Test plan

yarn install v0.24.0-0
verbose 0.159 Checking for configuration file "/home/dennis/go/src/github.com/yarnpkg/yarn/.npmrc".
verbose 0.159 Checking for configuration file "/home/dennis/.npmrc".
verbose 0.16 Found configuration file "/home/dennis/.npmrc".
verbose 0.161 Checking for configuration file "/usr/.npmrc".
verbose 0.161 Checking for configuration file "/home/dennis/go/src/github.com/yarnpkg/yarn/.npmrc".
verbose 0.161 Checking for configuration file "/home/dennis/go/src/github.com/yarnpkg/.npmrc".
verbose 0.161 Checking for configuration file "/home/dennis/go/src/github.com/.npmrc".
verbose 0.161 Checking for configuration file "/home/dennis/go/src/.npmrc".
verbose 0.161 Checking for configuration file "/home/dennis/go/.npmrc".
verbose 0.161 Checking for configuration file "/home/dennis/.npmrc".
verbose 0.161 Found configuration file "/home/dennis/.npmrc".
verbose 0.162 Checking for configuration file "/home/.npmrc".
verbose 0.163 Checking for configuration file "/home/dennis/go/src/github.com/yarnpkg/yarn/.yarnrc".
verbose 0.164 Checking for configuration file "/home/dennis/.yarnrc".
verbose 0.164 Found configuration file "/home/dennis/.yarnrc".
verbose 0.164 Checking for configuration file "/usr/.yarnrc".
verbose 0.164 Checking for configuration file "/home/dennis/go/src/github.com/yarnpkg/yarn/.yarnrc".
verbose 0.164 Checking for configuration file "/home/dennis/go/src/github.com/yarnpkg/.yarnrc".
verbose 0.164 Checking for configuration file "/home/dennis/go/src/github.com/.yarnrc".
verbose 0.164 Checking for configuration file "/home/dennis/go/src/.yarnrc".
verbose 0.164 Checking for configuration file "/home/dennis/go/.yarnrc".
verbose 0.165 Checking for configuration file "/home/dennis/.yarnrc".
verbose 0.165 Found configuration file "/home/dennis/.yarnrc".
verbose 0.165 Checking for configuration file "/home/.yarnrc".
verbose 0.166 current time: 2017-04-23T15:14:00.327Z
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.55s.

@bestander bestander merged commit aa800e0 into yarnpkg:master Apr 26, 2017
@denniswebb denniswebb deleted the verbose-config-file branch April 26, 2017 15:26
This was referenced Apr 28, 2017
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