Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code getting auto-formatted on initial load in Pre-request/ Scripts tab in Request Body #8488

Closed
pankajk07 opened this issue May 15, 2020 · 1 comment · Fixed by #8527
Closed
Labels

Comments

@pankajk07
Copy link
Member

Describe the bug
The existing code present in the Pre-request/ Test tab of the Request body is getting autoformatted when loaded for the first time.

To Reproduce
Steps to reproduce the behavior:

  1. Open a request tab
  2. Switch to pre-request tab and add some code
  3. Save the tab
  4. Open the saved request and switch to pre-request tab
  5. The existing code is now auto-formatted

Expected behavior
The code should not auto-format until explicitly user formats the code

Screenshots
Unformatted code before saving

image

Code formatted after saving and opening the same request
image

App information (please complete the following information):

  • App Type Native App
  • Postman Version v7.24
  • OS: macOS High Catalina

Additional context
Add any other context about the problem here.

@pankajk07
Copy link
Member Author

This is fixed as part of v.7.25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant