Skip to content

Commit

Permalink
fix: do not upload twice gzipped files
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Nov 10, 2023
1 parent c0ca568 commit f72c3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const listFiles = async ({
const sourceFiles = listSourceFiles({sourceAbsolutePath, ignore});
const compressedFiles = await gzipFiles({sourceFiles, gzip});

const files = [...sourceFiles, ...compressedFiles];
const files = [...sourceFiles, ...compressedFiles.filter((file) => !sourceFiles.includes(file))];

// TODO: brotli and zlib naive
const mapEncodingType = ({
Expand Down

0 comments on commit f72c3d6

Please sign in to comment.