This commit is contained in:
Frank Skare
2020-04-12 21:54:41 +02:00
parent ff5a164c69
commit 7519977124
3 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +1,8 @@
### 5.4.4.3
- update: MediaInfo 20.03
### 5.4.4.2
- update: libmpv shinchiro 0.32.0-258-g281f5c63c1

View File

@@ -1,7 +1,7 @@
MIT License
Copyright (c) 2002-2017 Frank Skare (stax76)
Copyright (C) 2017-2020 Frank Skare (stax76)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and ssociated documentation

View File

@@ -19,7 +19,7 @@ namespace ScriptHost
public static List<PowerShell> Instances { get; } = new List<PowerShell>();
string BR = Environment.NewLine;
string NL = Environment.NewLine;
public object Invoke() => Invoke(null, null);
@@ -55,8 +55,8 @@ namespace ScriptHost
}
catch (RuntimeException e)
{
string message = e.Message + BR + BR + e.ErrorRecord.ScriptStackTrace.Replace(
" <ScriptBlock>, <No file>", "") + BR + BR + Module + BR;
string message = e.Message + NL + NL + e.ErrorRecord.ScriptStackTrace.Replace(
" <ScriptBlock>, <No file>", "") + NL + NL + Module + NL;
throw new PowerShellException(message);
}