Skip to content

Commit

Permalink
Whitespace updates from dotnet format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlhagerm committed Feb 21, 2024
1 parent e786436 commit d6f95b4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions dotnetv3/CloudFormation/Actions/HelloCloudFormation.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

// snippet-start:[CloudFormation.dotnetv3.CloudFormationActions.HelloCloudFormation]
using Amazon.CloudFormation;
Expand Down Expand Up @@ -79,10 +79,10 @@ await _amazonCloudFormation.DescribeStackResourcesAsync(
}
catch (AmazonServiceException ex)
{
if(ex.Message.Contains("Unable to get IAM security credentials"))
if (ex.Message.Contains("Unable to get IAM security credentials"))
{
Console.WriteLine(ex.Message);
Console.WriteLine("If you are usnig SSO, be sure to install"+
Console.WriteLine("If you are usnig SSO, be sure to install" +
" the AWSSDK.SSO and AWSSDK.SSOOIDC packages.");
}
else
Expand All @@ -92,9 +92,9 @@ await _amazonCloudFormation.DescribeStackResourcesAsync(
}
return false;
}
catch(ArgumentNullException ex)
catch (ArgumentNullException ex)
{
if(ex.Message.Contains("Options property cannot be empty: ClientName"))
if (ex.Message.Contains("Options property cannot be empty: ClientName"))
{
Console.WriteLine(ex.Message);
Console.WriteLine("If you are using SSO, have you logged in?");
Expand All @@ -108,4 +108,4 @@ await _amazonCloudFormation.DescribeStackResourcesAsync(
}
}
}
// snippet-end:[CloudFormation.dotnetv3.CloudFormationActions.HelloCloudFormation]
// snippet-end:[CloudFormation.dotnetv3.CloudFormationActions.HelloCloudFormation]
4 changes: 2 additions & 2 deletions dotnetv3/CloudFormation/Tests/CloudFormationTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

using Amazon.CloudFormation;
using CloudFormationActions;
Expand Down
3 changes: 3 additions & 0 deletions dotnetv3/CloudFormation/Tests/Usings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

global using Xunit;
global using Xunit.Extensions.Ordering;

Expand Down

0 comments on commit d6f95b4

Please sign in to comment.