Skip to content

Commit ab652ea

Browse files
Youssef1313CESARDELATORRE
authored andcommitted
Update LocalConsoleHelper.cs (#720)
1 parent ee06956 commit ab652ea

File tree

1 file changed

+2
-2
lines changed
  • samples/csharp/getting-started/AnomalyDetection_CreditCardFraudDetection/CreditCardFraudDetection.Common

1 file changed

+2
-2
lines changed

samples/csharp/getting-started/AnomalyDetection_CreditCardFraudDetection/CreditCardFraudDetection.Common/LocalConsoleHelper.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static class LocalConsoleHelper
99
{
1010
public static string GetAssetsPath(params string[] paths)
1111
{
12-
FileInfo _dataRoot = new FileInfo(typeof(LocalConsoleHelper).Assembly.Location);
12+
var _dataRoot = new FileInfo(typeof(LocalConsoleHelper).Assembly.Location);
1313

1414
if (paths == null || paths.Length == 0)
1515
{
@@ -21,7 +21,7 @@ public static string GetAssetsPath(params string[] paths)
2121

2222
public static string DeleteAssets(params string[] paths)
2323
{
24-
var location = GetAssetsPath(paths);
24+
string location = GetAssetsPath(paths);
2525

2626
if (!string.IsNullOrWhiteSpace(location) && File.Exists(location))
2727
{

0 commit comments

Comments
 (0)