From 815292a6b52334f934ba236b695b7f143df44b9f Mon Sep 17 00:00:00 2001 From: Jon Magoon Date: Thu, 5 Dec 2024 08:40:24 -0700 Subject: [PATCH] fix anvil backwards compatibility (#270) * fix anvil backwards compatibility * capitalization --- frontend/server/git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/server/git.js b/frontend/server/git.js index ff708ae..2a18c36 100644 --- a/frontend/server/git.js +++ b/frontend/server/git.js @@ -32,7 +32,7 @@ export async function ensureGitRepoAndCommitBlocks( await Promise.all( buildContextStatuses .filter((context) => { - return context.hash != ""; + return context.s3Key != "" || (context?.hash && context.hash != ""); }) .map(async ({ blockKey }) => { const sourcePath = path.join(buildPath, blockKey);