From dbf5ee5040ef63556b38aa10dba77f3d151ae616 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 20 Jan 2023 10:56:39 -0800 Subject: [PATCH] Alias GetCurrentDirectory --- SabreTools.IO/PathTool.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/SabreTools.IO/PathTool.cs b/SabreTools.IO/PathTool.cs index 51d3f997..6ea71816 100644 --- a/SabreTools.IO/PathTool.cs +++ b/SabreTools.IO/PathTool.cs @@ -172,10 +172,6 @@ namespace SabreTools.IO /// /// Get the current runtime directory /// - public static string GetRuntimeDirectory() - { - string exeName = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath; - return Path.GetDirectoryName(exeName); - } + public static string GetRuntimeDirectory() => Directory.GetCurrentDirectory(); } }