Skip to content

Conversation

@hmemcpy
Copy link
Contributor

@hmemcpy hmemcpy commented Nov 2, 2014

For some reason, when I did this, I assumed GitVersion is always located somewhere inside the working directory.
This pull request fixes a problem where File.Exist would return false if GitVersion was used from the outside (for example, when debugging!)

there are no tests for this :(

…ectory (this fixes a problem if GitVersion is not located inside the working directory)
@JakeGinnivan
Copy link
Contributor

Is it worth adding tests?

@hmemcpy
Copy link
Contributor Author

hmemcpy commented Nov 2, 2014

Possibly via approvals, this class ends up doing File.WriteAllText. I'll add some later.

@JakeGinnivan
Copy link
Contributor

Added a test and submitted a new PR

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