From 1b80c55e217b803825be497bf7fd1d3bb34f41e7 Mon Sep 17 00:00:00 2001 From: Louie Farol Date: Mon, 18 Nov 2024 14:00:33 -0800 Subject: [PATCH] Remove unused method --- Snowflake.Data/Core/Tools/EnvironmentOperations.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Snowflake.Data/Core/Tools/EnvironmentOperations.cs b/Snowflake.Data/Core/Tools/EnvironmentOperations.cs index daee66d65..291fddd9a 100644 --- a/Snowflake.Data/Core/Tools/EnvironmentOperations.cs +++ b/Snowflake.Data/Core/Tools/EnvironmentOperations.cs @@ -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; - } } }