Removed comment - changed var name
This commit is contained in:
@@ -113,12 +113,11 @@ public static class Program
|
|||||||
|
|
||||||
public static void Main()
|
public static void Main()
|
||||||
{
|
{
|
||||||
var desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
|
var path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// TODO: Start process to not be dependent on parent lifetime
|
var directoryScanSender = new DirectoryScanSender(Host, Port, path);
|
||||||
var directoryScanSender = new DirectoryScanSender(Host, Port, desktopPath);
|
|
||||||
directoryScanSender.Run().GetAwaiter().GetResult();
|
directoryScanSender.Run().GetAwaiter().GetResult();
|
||||||
}
|
}
|
||||||
catch (Exception ex) { Console.WriteLine(ex.Message); }
|
catch (Exception ex) { Console.WriteLine(ex.Message); }
|
||||||
|
|||||||
Reference in New Issue
Block a user