Skip to content

Commit b6f83bc

Browse files
committed
fixup! modernize metadata helpers and async tests
1 parent 21a9df6 commit b6f83bc

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/functional/aws-node-sdk/test/object/putVersion.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ function putObjectVersion(s3, params, vid, cb) {
4949
}
5050
);
5151

52-
const promise = (async () => {
53-
const res = await s3.send(command);
54-
return res;
55-
})();
56-
52+
const promise = s3.send(command);
5753
return cb ? promise.then(res => cb(null, res), cb) : promise;
5854
}
5955

0 commit comments

Comments
 (0)