Skip to content

unused fs import on NodeJS - Native Code #708

Open
@vishwasnavadak

Description

@vishwasnavadak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions