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

[Foreman::CLI] use proper check to see if file exists #577

Merged
merged 1 commit into from
Apr 23, 2016
Merged

[Foreman::CLI] use proper check to see if file exists #577

merged 1 commit into from
Apr 23, 2016

Conversation

mbyczkowski
Copy link
Contributor

  • swapped exist?/exists? methods with file?, so foreman can ignore
    directories. I came across this issue when having '.env' directory
    with a bunch of .yml files inside. foreman start tried to load
    default '.env' configuration and failed because it was a directory.

- swapped `exist?`/`exists?` methods with `file?`, so foreman can ignore
  directories. I came across this issue when having '.env' directory
  with a bunch of .yml files inside. `foreman start` tried to load
  default '.env' configuration and failed because it was a directory.
@ddollar ddollar merged commit 9507ea1 into ddollar:master Apr 23, 2016
@ddollar
Copy link
Owner

ddollar commented Apr 23, 2016

Thanks!

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