From 385bd17cf973bfabf08c6a2141e615967a7c9e5d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 28 Apr 2016 17:19:00 -0700 Subject: [PATCH] These things are taken care of in the main method --- SabreHelper/Output.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/SabreHelper/Output.cs b/SabreHelper/Output.cs index 57bbbd0b..9f2c0a06 100644 --- a/SabreHelper/Output.cs +++ b/SabreHelper/Output.cs @@ -150,18 +150,6 @@ namespace SabreTools.Helper public static bool WriteToDatFromDict(string name, string description, string version, string date, string category, string author, bool forceunpack, bool old, bool merge, string outDir, Dictionary> dict, Logger logger) { - // If it's empty, use the current folder - if (outDir.Trim() == "") - { - outDir = Environment.CurrentDirectory; - } - - // Double check the outdir for the end delim - if (!outDir.EndsWith(Path.DirectorySeparatorChar.ToString())) - { - outDir += Path.DirectorySeparatorChar; - } - // Get all values in the dictionary and write out List sortable = new List(); List keys = dict.Keys.ToList();