Skip to content

Commit

Permalink
fix: Ignore .git dir during pages publish (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthachatterjee authored May 31, 2022
1 parent 5d6de58 commit ea8f8d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-news-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

fix: Ignore .git when publishing a Pages project
1 change: 1 addition & 0 deletions packages/wrangler/src/pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ const createDeployment: CommandModule<
"_headers",
".DS_Store",
"node_modules",
".git",
];

const walk = async (
Expand Down

0 comments on commit ea8f8d7

Please sign in to comment.