Closed
Description
I've been bitten by this bug a few times:
$oven = Toast-Bread `
-Bread Wheat
You probably can't see the problem - there's a space after the backtick, which causes the parser not to take the next line as part of the command, causing the command to be issued without the Bread parameter. It would be great if vscode-powershell highlighted this issue because I'm sure it's almost never done intentionally.
This seems to be a PowerShell problem generally - why isn't a backtick followed only by white space and a newline handled the same as a backtick immediately followed by a newline?
Metadata
Metadata
Assignees
Labels
No labels