microsoft / vscode-azureAutomation

MIT License
17 stars 4 forks source link

Multiline scripts break publishing process #49

Open jose-aragon opened 1 year ago

jose-aragon commented 1 year ago

Does this occur consistently? Repro steps:

  1. Use a multiline string as in powershell @" this is a multiline script"@ 2 . Try to publish the runbook.

Action: automation.publishRunbook Error type: Error Error Message: Request failed with status code 500

Version: 1.2.1 OS: win32 OS Release: 10.0.22621 Product: Visual Studio Code Product Version: 1.81.1 Language: en

Call Stack ``` e.exports extension.js:2:1340252 e.exports extension.js:2:1342668 IncomingMessage. extension.js:2:1333305 ```