Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Comments cause strange behavior in PowerShell notebooks with functions #9018
Create a PowerShell notebook with a cell containing one or more functions. At the end of each function, either on the same line as the closing bracket or on the line following that, add a comment.
When running the cell to define the function(s) so they can be called in subsequent cells, the cell will never complete - it just keeps running.
Removing the comments, or placing them in multi-line comment format, causes the cell to execute properly.
I have created a PowerShell notebook to demonstrate this.
Also confirm that this has resolved the issue.
When was this new package released? I was testing on a brand new deployed win 10 machine that a client had given me where I installed ADS only last week and I had version 0.1.2
Where is this information? and can it be surfaced in a public manner ?
I agree that #9023 will provide a prompt and that is a good thing but it will also be good for those of us who inform and educate people to know as this would help to resolve issues quicker (speaking as someone who gladly receives many questions about PowerShell notebooks :-) )