Skip to content

Commit 03533fc

Browse files
[skip ci] Update mappings
1 parent aaece24 commit 03533fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36791,7 +36791,7 @@ const run = async (config) => {
3679136791
return map;
3679236792
};
3679336793
const uploadMultiPart = async (file, config) => {
36794-
const fileName = external_path_default().basename(file);
36794+
const fileName = file.replace(config.sourceDir, "");
3679536795
const fileKey = external_path_default().join(config.destinationDir !== "" ? config.destinationDir : config.sourceDir, fileName);
3679636796
const mimeType = src.getType(file);
3679736797
const createMultiPartParams = {
@@ -36879,7 +36879,7 @@ const uploadMultiPart = async (file, config) => {
3687936879
};
3688036880
};
3688136881
const putObject = async (file, config) => {
36882-
const fileName = external_path_default().basename(file);
36882+
const fileName = file.replace(config.sourceDir, "");
3688336883
const fileKey = external_path_default().join(config.destinationDir !== "" ? config.destinationDir : config.sourceDir, fileName);
3688436884
const mimeType = src.getType(file);
3688536885
console.info(`using put object upload for ${fileKey}`);

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)