Skip to content

Commit 204393a

Browse files
committed
Remove useless comments
1 parent 1f828a9 commit 204393a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/plugins/aws/provider.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,21 +1763,15 @@ class AwsProvider {
17631763
*/
17641764
async _requestV3(service, method, params = {}, options = {}) {
17651765
try {
1766-
// Initialize client factory if not already done
17671766
if (!this.clientFactory) {
17681767
this.clientFactory = new AWSClientFactory(this._getV3BaseConfig());
17691768
}
17701769

1771-
// Build client configuration
17721770
const clientConfig = this._buildV3ClientConfig(service, method, options);
17731771

1774-
// Create command
17751772
const command = createCommand(service, method, params);
17761773

1777-
// Send request
1778-
const result = await this.clientFactory.send(service, command, clientConfig);
1779-
1780-
return result;
1774+
return await this.clientFactory.send(service, command, clientConfig);
17811775
} catch (error) {
17821776
// Transform v3 error to be compatible with existing error handling
17831777
throw transformV3Error(error);

0 commit comments

Comments
 (0)