Skip to content

Commit cb71e44

Browse files
committed
Fix for #193
1 parent 2f6ad93 commit cb71e44

File tree

4 files changed

+113
-124
lines changed

4 files changed

+113
-124
lines changed
-236 KB
Binary file not shown.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ exports.handler = function (event, context) {
786786
* from Lambda with '+' and plus values come in as %2B. Redshift
787787
* wants the original S3 value
788788
*/
789-
url: 's3://' + batchEntries[i].replace('+', ' ').replace('%2B', '+'),
789+
url: 's3://' + batchEntries[i].replace(/\+/g, ' ').replace(/%2B/g, '+'),
790790
mandatory: true
791791
});
792792
}

package-lock.json

Lines changed: 111 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"email": "meyersi@amazon.com"
99
},
1010
"dependencies": {
11-
"async": "2.6.1",
11+
"async": "2.6.2",
1212
"aws-sdk": "2.399.0",
1313
"https-proxy-agent": "2.2.1",
1414
"minimist": "1.2.0",

0 commit comments

Comments
 (0)