diff --git a/shard.lock b/shard.lock index 2efa030..2801648 100644 --- a/shard.lock +++ b/shard.lock @@ -79,7 +79,7 @@ shards: git-repository: git: https://github.com/place-labs/git-repository.git - version: 1.7.0 + version: 1.7.1 google: git: https://github.com/placeos/google.git diff --git a/src/placeos-frontend-loader/loader.cr b/src/placeos-frontend-loader/loader.cr index 704e526..54ffd3f 100644 --- a/src/placeos-frontend-loader/loader.cr +++ b/src/placeos-frontend-loader/loader.cr @@ -306,8 +306,8 @@ module PlaceOS::FrontendLoader Log.trace { "#{repository.folder_name}: downloading new content" } commit_ref = repository.commit_hash == "HEAD" ? repository.branch : repository.commit_hash commit = if (root = repository.root_path) && !root.blank? - Log.trace { "Fetching folder as root_path property is set: '#{root}', size: #{root.size}" } - cache.fetch_folder(commit_ref, root, repository_directory) + Log.trace { "Fetching folder contents as root_path property is set: '#{root}', size: #{root.size}" } + cache.fetch_folder_contents(commit_ref, root, repository_directory) else Log.trace { {message: "Fetching commit", commit_ref: commit_ref, repo_dir: repository_directory} } cache.fetch_commit(commit_ref, repository_directory)