Skip to content

Commit

Permalink
fix anvil backwards compatibility (#270)
Browse files Browse the repository at this point in the history
* fix anvil backwards compatibility

* capitalization
  • Loading branch information
jmagoon authored Dec 5, 2024
1 parent 5cc33bb commit 815292a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/server/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 815292a

Please sign in to comment.