Skip to content

Commit 00b3579

Browse files
Merge pull request #172 from gabriel-samfira/fix-lint-errors
Fix lint errors
2 parents 380d647 + 51eb11f commit 00b3579

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

powershell-yaml.psm1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ function Invoke-LoadFile {
4343
# Register the AssemblyResolve event to load dependencies manually. This seems to be needed only on
4444
# PowerShell Core.
4545
[System.AppDomain]::CurrentDomain.add_AssemblyResolve({
46-
param ($sender, $e)
47-
$pth = $powershellYamlDotNetAssemblyPath
46+
param ($snd, $e)
4847
# Load YamlDotNet if it's requested by PowerShellYamlSerializer. Ignore other requests as they might
4948
# originate from other assemblies that are not part of this module and which might have different
5049
# versions of the module that they need to load.

0 commit comments

Comments
 (0)