Skip to content

Commit 40e9b26

Browse files
brandonh-msftliliankasem
authored andcommitted
fixing some linting warnings
1 parent c1ecfce commit 40e9b26

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ public async Task AzureFunctionsEnvironment_EnvironmentVariable_SetByUser_DoesNo
293293
await startHostAction.RunAsync().WaitAsync(TimeSpan.FromSeconds(1));
294294
throw new AssertionFailedException("Should've canceled via timeout");
295295
}
296-
catch (TimeoutException) { }
296+
catch (TimeoutException)
297+
{
298+
}
297299

298300
Assert.Equal("MyEnvironment", settings["AZURE_FUNCTIONS_ENVIRONMENT"]);
299301
}

0 commit comments

Comments
 (0)