Introduce simple git cloner.

This commit is contained in:
jregan
2018-11-22 10:24:35 -08:00
parent c51646e3db
commit d9ba209543
4 changed files with 133 additions and 13 deletions

View File

@@ -110,7 +110,7 @@ func (l *fileLoader) Root() string {
func newLoaderOrDie(fSys fs.FileSystem, path string) *fileLoader {
l, err := newFileLoaderAt(
path, fSys, []string{}, hashicorpGitCloner)
path, fSys, []string{}, clonerToUse())
if err != nil {
log.Fatalf("unable to make loader at '%s'; %v", path, err)
}