-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Describe the bug
Getting this error when deleting a container:
Couldn't prune the launch.json file in c:\Repos\Jendev\JI-InternalSystem-NEW\Chase Communications.vscode\launch.json for the container.
To Reproduce
Steps to reproduce the behavior:
- From the Cosmo Alpaca Preview extension
- Select the Containers section
- Select container to be deleted
- Right-click container
- Select Delete
- Scroll down to '....'
- See error
Expected behaviorA clear and concise description of what you expected to happen.
All launch.json files in a multi-root project workspace should have the container references removed. There should be no error, even if there is no reference to the container in the launch.json (which is what I suspect happened here.
Screenshots
If applicable, add screenshots to help explain your problem. Please remove sensitive data.
System Information
- OS: Windows 11
- Alpaca Version (VS Code Extension): 0.58.1
Additional context
FYI, I am having a similar problem when I have 2 containers for the same project and use "Create Launch.json" and chose the Add/prune obsolete options.

NB: This is a different workspace with 15 apps in it. In this case I have 2 containers with the same name but not the same ID (obviously).