Skip to content

Commit 78bd207

Browse files
committed
fixing some linting warnings
1 parent c265647 commit 78bd207

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Cli/func/Telemetry/Sha256Hasher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

44
using System.Security.Cryptography;
@@ -9,7 +9,7 @@ namespace Azure.Functions.Cli.Telemetry
99
internal static class Sha256Hasher
1010
{
1111
/// <summary>
12-
/// The hashed mac address needs to be the same hashed value as produced by the other distinct sources given the same input. (e.g. VsCode)
12+
/// The hashed mac address needs to be the same hashed value as produced by the other distinct sources given the same input. (e.g. VsCode).
1313
/// </summary>
1414
public static string Hash(string text)
1515
{

test/Cli/Func.UnitTests/ActionsTests/StartHostActionTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
using Xunit;
2323

24-
2524
namespace Azure.Functions.Cli.UnitTests.ActionsTests
2625
{
2726
public class StartHostActionTests : IDisposable
@@ -298,7 +297,9 @@ public async Task AzureFunctionsEnvironment_EnvironmentVariable_SetByUser_DoesNo
298297
await startHostAction.RunAsync().WaitAsync(TimeSpan.FromSeconds(1));
299298
throw new AssertionFailedException("Should've canceled via timeout");
300299
}
301-
catch (TimeoutException) { }
300+
catch (TimeoutException)
301+
{
302+
}
302303

303304
Assert.Equal("MyEnvironment", settings["AZURE_FUNCTIONS_ENVIRONMENT"]);
304305
}

0 commit comments

Comments
 (0)