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

Fixes #126 #129

Merged
merged 7 commits into from
Apr 6, 2016
Merged

Fixes #126 #129

merged 7 commits into from
Apr 6, 2016

Conversation

deivid-rodriguez
Copy link
Contributor

No description provided.

We'll be adding an equivalent method without the `-c` flag, so rename
this for clarity.
David Rodríguez added 6 commits April 6, 2016 19:14
I'll be adding a method similar to `run_cli_with_rc_flag`, so I extract
some methods so I can reuse them later.
If we do this, we never ascend because `ascend` needs an absolute path
to work properly. Instead, only return early if the given file exists.
`p.join(CONFIG_FILE)` only makes sense for directories. So skip the
first iteration of `ascend`, which is a file.
We want to check the existance of the rc file in the folder we are
currently traversing, not of the default rc file.
@mivok
Copy link
Collaborator

mivok commented Apr 6, 2016

Thanks, this looks awesome!

@mivok mivok merged commit dfa943c into markdownlint:master Apr 6, 2016
@deivid-rodriguez deivid-rodriguez deleted the issue_126 branch April 6, 2016 21:10
@deivid-rodriguez
Copy link
Contributor Author

Great, thank you! 😃

@deivid-rodriguez
Copy link
Contributor Author

To confirm the fix, just tried this against byebug and it works.

Regards!

deivid-rodriguez pushed a commit to deivid-rodriguez/byebug that referenced this pull request Apr 7, 2016
So we can use latest improvements but still get our custom configuration
loaded (markdownlint/markdownlint#129).
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.

None yet

2 participants