diff --git a/src/Microsoft.PowerShell.Linux.Host/main.cs b/src/Microsoft.PowerShell.Linux.Host/main.cs index d0f8e0f751..fde1f21928 100644 --- a/src/Microsoft.PowerShell.Linux.Host/main.cs +++ b/src/Microsoft.PowerShell.Linux.Host/main.cs @@ -388,7 +388,7 @@ OPTIONS this.currentPowerShell.Invoke(null, settings); } } - catch (IncompleteParseException e) + catch (IncompleteParseException) { incompleteLine = true; cmd = cmd.Trim();