Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
This change cleans up an unused variable and renames a reserved variable
name.

Signed-off-by: Gabriel Adrian Samfira <[email protected]>
  • Loading branch information
gabriel-samfira committed Dec 18, 2024
1 parent 380d647 commit 51eb11f
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 51eb11f

Please sign in to comment.