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

OP-434 Use file_exists in version check #3

Merged
merged 1 commit into from
Dec 13, 2016

Conversation

troyharvey
Copy link
Contributor

No description provided.

protected $customPath;

/**
* HealthVersion constructor.
* @param string $customPath
*/
public function __construct($customPath = __DIR__.'commit.txt')
public function __construct($customPath = __DIR__.'/commit.txt')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__DIR__ doesn't come with a trailing slash

@colanconnon colanconnon merged commit d32cc5a into master Dec 13, 2016
@colanconnon colanconnon deleted the OP-434-version-file-exists branch December 13, 2016 19:14
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