From c5c822a0281598e59a163ffca910460e096be842 Mon Sep 17 00:00:00 2001 From: Konstantin Gross Date: Wed, 27 May 2020 01:06:31 +0200 Subject: [PATCH] Update Shell.cs --- ElectronNET.API/Shell.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElectronNET.API/Shell.cs b/ElectronNET.API/Shell.cs index 182dd46..6230396 100644 --- a/ElectronNET.API/Shell.cs +++ b/ElectronNET.API/Shell.cs @@ -101,7 +101,7 @@ namespace ElectronNET.API { BridgeConnector.Socket.Off("shell-openExternalCompleted"); - taskCompletionSource.SetResult((string)error); + taskCompletionSource.SetResult((string) error); }); if (options == null) @@ -161,7 +161,7 @@ namespace ElectronNET.API { BridgeConnector.Socket.Off("shell-writeShortcutLinkCompleted"); - taskCompletionSource.SetResult((bool)success); + taskCompletionSource.SetResult((bool) success); }); BridgeConnector.Socket.Emit("shell-writeShortcutLink", shortcutPath, operation.GetDescription(), JObject.FromObject(options, _jsonSerializer)); @@ -201,4 +201,4 @@ namespace ElectronNET.API DefaultValueHandling = DefaultValueHandling.Ignore }; } -} \ No newline at end of file +}