I wanted it the repo root, not the solution root.

Sent from my Windows Phone
________________________________
From: Robert Moore<mailto:notifications@github.com>
Sent: ý10/ý11/ý2013 14:30
To: JakeGinnivan/GitHubFlowVersion<mailto:GitHubFlowVersion@noreply.github.com>
Cc: Jake Ginnivan<mailto:jake@ginnivan.net>
Subject: Re: [GitHubFlowVersion] Copy to tools folder on install (#31)


In src/GitHubFlowVersion/install.ps1:

> +    {
> +        $gitDir = $possibleGitDir
> +        Break
> +    }
> +    $parent = $workingDirectory.parent
> +    if ($parent -eq $null)
> +    {
> +        Break
> +    }
> +    $workingDirectory = $parent;
> +}
> +
> +if ($gitDir -ne $null)
> +{
> +    Write-Host "Found git directory for project at $gitDir"
> +    $solutionDir = (get-item $gitDir -Force).Parent.FullName


You know you can get the solution directory from the $project directory right?

—
Reply to this email directly or view it on GitHub<https://github.com/JakeGinnivan/GitHubFlowVersion/pull/31/files#r7548745>.