Skip to content

Commit 3699de7

Browse files
committed
getlocation functional aws-node-sdk test bucket lint
1 parent b534e28 commit 3699de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/aws-node-sdk/test/bucket/getLocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describeSkipAWS('GET bucket location ', () => {
9292
try {
9393
const url = new URL(clientConfig.endpoint);
9494
host = url.hostname;
95-
} catch (err) {
95+
} catch {
9696
// If endpoint is not a valid URL, use it as-is
9797
host = clientConfig.endpoint;
9898
}

0 commit comments

Comments
 (0)