Skip to content

Conversation

mohsenari
Copy link
Collaborator

Summary

Fixed a bug where devbox generate devcontainer would list multiple ms-python.python extensions in devcontainer.json.
The issue was due to the check inside a for loop. Updated the check to use regex and it resolves the issue.

How was it tested?

  • devbox add python39Packages.sip
  • devbox add python39
  • devbox generate devcontainer
  • confirm the list of extensions ("customizations"."vscode"."extensions") in devcontainer/devcontainer.json file specifies only one ms-python.python entry.

@mohsenari mohsenari requested review from savil and Lagoja March 4, 2023 00:53
@mohsenari mohsenari merged commit a583085 into main Mar 6, 2023
@mohsenari mohsenari deleted the mohsen--multiple-python-devcontainer-bug branch March 6, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants