You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PowerShell, it is valid syntax to dot-source a ScriptBlock. Our FindDotSourcedVisitor class does not account for this possibility and treats a dot-sourced ScriptBlock as a referenced script path. This currently does not cause a problem or crash but the behavior should still be fixed.
This issue was originally reported by @itzik-h on the vscode-powershell repo:
In PowerShell, it is valid syntax to dot-source a ScriptBlock. Our FindDotSourcedVisitor class does not account for this possibility and treats a dot-sourced ScriptBlock as a referenced script path. This currently does not cause a problem or crash but the behavior should still be fixed.
This issue was originally reported by @itzik-h on the vscode-powershell repo:
PowerShell/vscode-powershell#224 (comment)
The text was updated successfully, but these errors were encountered: