MrCodingB / Postman-Collection-Explorer-VS-Code

A Visual Studio Code extension to create, manage and test Postman Collections.
MIT License
4 stars 2 forks source link

changes to pre-request scripts at the collection level do not get saved #15

Closed william-wallace-simplisafe closed 2 years ago

william-wallace-simplisafe commented 2 years ago

Describe the bug Changes to pre-request scripts at the collection level do not get saved.

This is my first attempt at saving anything, so there could be more to this than described in the reproducer

To Reproduce

  1. Open a collection
  2. Right click on the collection and select "pre-request script"
  3. Make an edit to the pre-request script"
  4. Save by <cmd|ctrl>s or File=>Save
  5. Verify the change was saved a. git status (if under git source code control) should show the collection was changed a. open the collection file vscode explorer and check the change in the editor c. in the vscode explorer check for 'U' next to the collection (designates updated)

Expected behavior The collection file should contain the update after save

Screenshots

Screen Shot 2022-08-26 at 12 47 41 PM

Environment (please complete the following information):

MrCodingB commented 2 years ago

This is fixed in v0.3.1