Skip to content

Commit

Permalink
Merge pull request #172 from gabriel-samfira/fix-lint-errors
Browse files Browse the repository at this point in the history
Fix lint errors
  • Loading branch information
gabriel-samfira authored Dec 18, 2024
2 parents 380d647 + 51eb11f commit 00b3579
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions powershell-yaml.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ function Invoke-LoadFile {
# Register the AssemblyResolve event to load dependencies manually. This seems to be needed only on
# PowerShell Core.
[System.AppDomain]::CurrentDomain.add_AssemblyResolve({
param ($sender, $e)
$pth = $powershellYamlDotNetAssemblyPath
param ($snd, $e)
# Load YamlDotNet if it's requested by PowerShellYamlSerializer. Ignore other requests as they might
# originate from other assemblies that are not part of this module and which might have different
# versions of the module that they need to load.
Expand Down

0 comments on commit 00b3579

Please sign in to comment.