flawiddsouza / Restfox

Offline-First Minimalistic HTTP & Socket Testing Client for the Web & Desktop
https://restfox.dev
MIT License
1.96k stars 96 forks source link

Using fetchSync twice in plugin results in error #242

Closed pckilgore closed 4 days ago

pckilgore commented 4 days ago

To reproduce, write a plugin where you do two fetchSync in the preRequest.

{
    "name": "SyntaxError",
    "message": "redeclaration of 'escapedText'",
    "stack": "    at preRequest (eval.js:3)\n    at <eval> (eval.js:11)\n"
}
pckilgore commented 4 days ago

Also, really digging restfox so far, thanks for the hard work on it.

flawiddsouza commented 4 days ago

I'm glad you like it. Let me look into this issue.