{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/301","repository_url":"https://api.github.com/repos/PowerShell/vscode-powershell","labels_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/301/comments","events_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/301/events","html_url":"https://github.com/PowerShell/vscode-powershell/issues/301","id":178489991,"node_id":"MDU6SXNzdWUxNzg0ODk5OTE=","number":301,"title":"ignore workflow errors in Powershell Core","user":{"login":"JasonMorgan","id":4570906,"node_id":"MDQ6VXNlcjQ1NzA5MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4570906?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonMorgan","html_url":"https://github.com/JasonMorgan","followers_url":"https://api.github.com/users/JasonMorgan/followers","following_url":"https://api.github.com/users/JasonMorgan/following{/other_user}","gists_url":"https://api.github.com/users/JasonMorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonMorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonMorgan/subscriptions","organizations_url":"https://api.github.com/users/JasonMorgan/orgs","repos_url":"https://api.github.com/users/JasonMorgan/repos","events_url":"https://api.github.com/users/JasonMorgan/events{/privacy}","received_events_url":"https://api.github.com/users/JasonMorgan/received_events","type":"User","site_admin":false},"labels":[{"id":607191758,"node_id":"MDU6TGFiZWw2MDcxOTE3NTg=","url":"https://api.github.com/repos/PowerShell/vscode-powershell/labels/Area-General","name":"Area-General","color":"5319e7","default":false},{"id":306015721,"node_id":"MDU6TGFiZWwzMDYwMTU3MjE=","url":"https://api.github.com/repos/PowerShell/vscode-powershell/labels/Issue-Discussion","name":"Issue-Discussion","color":"fc2929","default":false},{"id":257900818,"node_id":"MDU6TGFiZWwyNTc5MDA4MTg=","url":"https://api.github.com/repos/PowerShell/vscode-powershell/labels/Issue-Enhancement","name":"Issue-Enhancement","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-21T23:52:28Z","updated_at":"2018-07-19T14:49:35Z","closed_at":null,"author_association":"NONE","body":"**Please fill in these details so that we can help you!**\n### System Details\n- Operating system name and version: Mac OS\n- VS Code version: 1.5.2\n- PowerShell extension version: 6 alpha\n- Output from `$PSVersionTable`:\n\n```\nName                           Value\n----                           -----\nPSVersion                      6.0.0-alpha\nPSEdition                      Core\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}\nBuildVersion                   3.0.0.0\nGitCommitId                    v6.0.0-alpha.9\nCLRVersion\nWSManStackVersion              3.0\nPSRemotingProtocolVersion      2.3\nSerializationVersion           1.1.0.1\n```\n### Issue Description\n\nworkflow statements present an error and I can't seem to suppress it.  I understand workflow won't run but I want to author them without an error.  It'd be nice if I had the option to suppress or ignore it.\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/comments/406303460","html_url":"https://github.com/PowerShell/vscode-powershell/issues/301#issuecomment-406303460","issue_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/301","id":406303460,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjMwMzQ2MA==","user":{"login":"rkeithhill","id":5177512,"node_id":"MDQ6VXNlcjUxNzc1MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5177512?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeithhill","html_url":"https://github.com/rkeithhill","followers_url":"https://api.github.com/users/rkeithhill/followers","following_url":"https://api.github.com/users/rkeithhill/following{/other_user}","gists_url":"https://api.github.com/users/rkeithhill/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeithhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeithhill/subscriptions","organizations_url":"https://api.github.com/users/rkeithhill/orgs","repos_url":"https://api.github.com/users/rkeithhill/repos","events_url":"https://api.github.com/users/rkeithhill/events{/privacy}","received_events_url":"https://api.github.com/users/rkeithhill/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T14:49:35Z","updated_at":"2018-07-19T14:49:35Z","author_association":"COLLABORATOR","body":"You can switch to a \"Windows PowerShell\" session if you're on Windows or disable code analysis since it is PSScriptAnalyzer that generates that (parse) error e.g.:\r\n\r\n```\r\n07-19 08:44:39 2> Invoke-ScriptAnalyzer .\\workflow.ps1\r\nInvoke-ScriptAnalyzer : Parse error in file C:\\Users\\Keith\\workflow.ps1:  Workflow is not supported in PowerShell Core at line 1 column 1.\r\n```\r\n\r\nOpen up your user or workspace settings and add this setting:\r\n```\r\n\"powershell.scriptAnalysis.enable\": false\r\n```\r\nShort of disabling script analysis, there is nothing this extension can do.  There is not even a PSSA rule we can ignore since it is a \"parse\" error.  I suggest filing an issue with PSSA https://github.com/powershell/scriptanalyzer.\r\n"}}
{"actor":{"display_login":"rkeithhill"}}