Skip to content

Commit 3d8013a

Browse files
committed
Replace HashtableAst.SafeGetValue() compatibility shim with actual implementation
1 parent b7ef03d commit 3d8013a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Engine/Settings.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,7 @@ private void parseSettingsFile(string settingsFilePath)
462462
Hashtable hashtable;
463463
try
464464
{
465-
// ideally we should use HashtableAst.SafeGetValue() but since
466-
// it is not available on PSv3, we resort to our own narrow implementation.
467-
hashtable = Helper.GetSafeValueFromHashtableAst(hashTableAst);
465+
hashtable = (Hashtable) hashTableAst.SafeGetValue();
468466
}
469467
catch (InvalidOperationException e)
470468
{

0 commit comments

Comments
 (0)