From 5901e70dd06f66a96b3847e2976c9d68b410e7f8 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 14 Mar 2016 13:39:32 -0700 Subject: [PATCH] Revert work-around in Json.Tests.ps1 This resolves #627. --- test/powershell/Json.Tests.ps1 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/powershell/Json.Tests.ps1 b/test/powershell/Json.Tests.ps1 index a5157b9aef..53305d2a0b 100644 --- a/test/powershell/Json.Tests.ps1 +++ b/test/powershell/Json.Tests.ps1 @@ -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 - } - + $base = [System.AppContext]::BaseDirectory $path = Join-Path $base Newtonsoft.Json.dll [Microsoft.PowerShell.CoreCLR.AssemblyExtensions]::LoadFrom($path)