Resolves an output directory and throws an OutputInsideRepoError when it is inside a git
working tree: the one found by walking up from the directory itself, or any of repoRoots
(the rig's own repository, for example). Returns the resolved directory.
Parameters
outputPath: string
The output directory, as given; it need not exist yet.
Resolves an output directory and throws an OutputInsideRepoError when it is inside a git working tree: the one found by walking up from the directory itself, or any of
repoRoots(the rig's own repository, for example). Returns the resolved directory.