Skip to content

Commit

Permalink
fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
gcbeattyAWS committed Nov 8, 2024
1 parent 442b690 commit 5f827a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AWS.Deploy.CLI/AWSUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public AWSUtilities(
{
_toolInteractiveService.WriteLine($"Configuring AWS Credentials from Profile {profileName}.");
chain.TryGetProfile(profileName, out var profile);
// Return the credentials since it must be found at this point.
// Return the credentials since they must be found at this point.
// For region, we try to read it from the profile. If it's not found in the profile, then return null and region selection will be handled later on by ResolveAWSRegion.
return Tuple.Create<AWSCredentials, string?>(profileCredentials, profile.Region?.SystemName);
}
Expand Down Expand Up @@ -115,7 +115,7 @@ public AWSUtilities(
if (chain.TryGetAWSCredentials(selectedProfileName, out var selectedProfileCredentials) &&
(await CanLoadCredentials(selectedProfileCredentials)))
{
// Return the credentials since it must be found at this point.
// Return the credentials since they must be found at this point.
// For region, we try to read it from the profile. If it's not found in the profile, then return null and region selection will be handled later on by ResolveAWSRegion.
chain.TryGetProfile(selectedProfileName, out var profile);
return Tuple.Create<AWSCredentials, string?>(selectedProfileCredentials, profile.Region?.SystemName);
Expand Down

0 comments on commit 5f827a7

Please sign in to comment.