mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
1 parent
c87d99bba0
commit
5901e70dd0
1 file changed
-5
@@ -6,12 +6,7 @@
|
||||
|
||||
Describe "Json.NET LINQ Parsing" {
|
||||
# load third party Json.NET library
|
||||
if ([string]::IsNullOrEmpty($env:CORE_ROOT)) {
|
||||
$base = [System.AppContext]::BaseDirectory
|
||||
} else {
|
||||
$base = $env:CORE_ROOT
|
||||
}
|
||||
|
||||
$path = Join-Path $base Newtonsoft.Json.dll
|
||||
[Microsoft.PowerShell.CoreCLR.AssemblyExtensions]::LoadFrom($path)
|
||||
|
||||
|
||||
Reference in new issue
Block a user