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

unused fs import on NodeJS - Native Code #708

Open
vishwasnavadak opened this issue Jun 11, 2023 · 0 comments · May be fixed by #709
Open

unused fs import on NodeJS - Native Code #708

vishwasnavadak opened this issue Jun 11, 2023 · 0 comments · May be fixed by #709

Comments

@vishwasnavadak
Copy link

Describe the bug
Unused import fs on the NodeJS - Native Code

To Reproduce

  1. Open Code </> Section for any tab/URL in postman
  2. Select NodeJS - Native on the dropdown
  3. On the second line of the generated code, fs module is imported but not used in the code

Expected code snippet and corresponding request
If you have a working code snippet that you think solves your problem, please add it here:
Also, add the request.json for which this code snippet was generated.

Screenshots
If applicable, add screenshots to help explain your problem. Please make sure the screenshot does not contain any sensitive information such as API keys or access tokens.
For example you could add the screenshot of the snippet/request builder from Postman app.

image

Additional context
If you have any reference material which might help us debug the problem please add it here:
Add any other context about the problem here.
Version of postman-code-generators/Postman app:
Postman for Mac
Version 10.14.7
UI Version 10.14.7-ui-230530-1546
Desktop Platform Version 10.14.2
Architecture arm64
OS Platform OS X 22.4.0

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 a pull request may close this issue.

1 participant