Only check a script's extension if a script was given (#4186)
Only check a script's extension if a script was given (#4186)

Since 'launch' can be used without a script in a weird way to debug the
interactive session.
PowerShell/vscode-powershell