Skip to content

Set notebook cell language back to Python if %%qsharp magic isn't there#1118

Merged
minestarks merged 2 commits into
mainfrom
minestarks/fix-1117
Feb 7, 2024
Merged

Set notebook cell language back to Python if %%qsharp magic isn't there#1118
minestarks merged 2 commits into
mainfrom
minestarks/fix-1117

Conversation

@minestarks
Copy link
Copy Markdown
Member

Fixes #1117

Comment on lines +52 to +54
setTimeout(() => {
if (!done) {
reject(new Error(timeoutErrorMsg));

Check notice

Code scanning / devskim

If untrusted data (data from HTTP requests, user submitted files, etc.) is included in an setTimeout statement it can allow an attacker to inject their own code.

Review setTimeout for untrusted data
@minestarks minestarks added this pull request to the merge queue Feb 7, 2024
Merged via the queue into main with commit 27c6e03 Feb 7, 2024
@minestarks minestarks deleted the minestarks/fix-1117 branch February 7, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python cells get marked as Q# in VS Code notebooks, causing syntax errors and confusion

3 participants