Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-lf committed Nov 18, 2024
1 parent 15090b4 commit 1b80c55
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Snowflake.Data/Core/Tools/EnvironmentOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,5 @@ public virtual string GetFolderPath(Environment.SpecialFolder folder)
{
return Environment.GetFolderPath(folder);
}

public virtual string GetExecutionDirectory()
{
var executablePath = Environment.GetCommandLineArgs()[0];
var directoryName = string.IsNullOrEmpty(executablePath) ? null : Path.GetDirectoryName(executablePath);
if (string.IsNullOrEmpty(directoryName))
{
s_logger.LogWarning("Unable to determine execution directory");
return null;
}
return directoryName;
}
}
}

0 comments on commit 1b80c55

Please sign in to comment.