Skip to content

Commit

Permalink
[skip ci] Update mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
r2-action-bot[bot] committed Jul 31, 2024
1 parent aaece24 commit 03533fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36791,7 +36791,7 @@ const run = async (config) => {
return map;
};
const uploadMultiPart = async (file, config) => {
const fileName = external_path_default().basename(file);
const fileName = file.replace(config.sourceDir, "");
const fileKey = external_path_default().join(config.destinationDir !== "" ? config.destinationDir : config.sourceDir, fileName);
const mimeType = src.getType(file);
const createMultiPartParams = {
Expand Down Expand Up @@ -36879,7 +36879,7 @@ const uploadMultiPart = async (file, config) => {
};
};
const putObject = async (file, config) => {
const fileName = external_path_default().basename(file);
const fileName = file.replace(config.sourceDir, "");
const fileKey = external_path_default().join(config.destinationDir !== "" ? config.destinationDir : config.sourceDir, fileName);
const mimeType = src.getType(file);
console.info(`using put object upload for ${fileKey}`);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 03533fc

Please sign in to comment.