Skip to content

Commit 9bc32f4

Browse files
committed
fix: Listing of sub-directories of S3 buckets with a large number of items
See also PR against upstream repo: rufuspollock/s3-bucket-listing#135
1 parent 60f048b commit 9bc32f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/s3_listing.html.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
// clang-format on
252252
});
253253
if ($(xml.find('IsTruncated')[0]).text() == 'true') {
254-
var nextMarker = $(xml.find('NextMarker')[0]).text();
254+
var nextMarker = xml.find('NextMarker').textContent;
255255
} else {
256256
var nextMarker = null;
257257
}

0 commit comments

Comments
 (0)