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

Making UpdateAssemblyInfo to only consider files under the workingDirectory #287

Closed
wants to merge 1 commit into from

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.

None yet

2 participants