Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/providercache: Fix bug when symlink fails
When installing a provider which is already cached, we attempt to create a symlink from the install directory targeting the cache. If symlinking fails due to missing OS/filesystem support, we instead want to copy the cached provider. The fallback code to do this would always fail, due to a missing target directory. This commit fixes that. I was unable to find a way to add automated tests around this, but I have manually verified the fix on Windows 8.1.
- Loading branch information