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

Don't add the same config file twice #46

Merged
merged 1 commit into from
Mar 28, 2015

Conversation

eush77
Copy link
Contributor

@eush77 eush77 commented Mar 28, 2015

cc.find('.'+name+'rc') may return with ~/.apprc config file which has already been added before. This results in configs array containing the same file more than once.

This patch fixes it by adding a check to addConfigFile.

dominictarr added a commit that referenced this pull request Mar 28, 2015
Don't add the same config file twice
@dominictarr dominictarr merged commit a1486ae into dominictarr:master Mar 28, 2015
@dominictarr
Copy link
Owner

thanks, merged into 1.0.1

@eush77 eush77 deleted the unique-configs branch March 28, 2015 22:13
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