Closed esp0314 closed 6 months ago
Hi @esp0314
Please right click on file in vscode and select Copy Relative Path
and use this path.
please test and let me know
Hi @rangav,
Thank you for your reply. I did and got the same result. And i think the relative is the same with the first arrow (api-tests/env.txt)
Thanks for testing
its it working in the extension? Any previous version of CLI working?
I will verify and get back to you
Last known working is CLI v1.11.5 using a relative path
Yes, UI extension v2.18.0 is working using relative path
Thanks will verify and get back to you
This bug is fixed and published to the marketplace. Please update to v2.19.0
.
v1.12.1
You can see all the features released in this update https://github.com/rangav/thunder-client-support/releases/tag/v2.19.0
Please test it and let me know your feedback
Thank you for fixing the path issue on CLI v1.12.4 and Extension v2.19.2
However, i found another issue but not related to this. I will file a separate ticket and provide the complete info.
Thanks for confirmation
Hi @rangav, Could you please help us check this?
I have a pre-run custom script that reads a text file. This text file only contains the indicator on what environment to run the collections, in this case its int0. Basically its just a simple string. And the location of this text file is the same location with my custom script. When running the CLI using the filePath = '../env.txt', it was able to read the file, local environment was updated with the corresponding endpoints, and api was executed.
However, when running the API in the UI, it looks like the filePath = '../env.txt' is not recognized. As you can see, my local environment was not updated, that cause the error.
I updated the filePath to 'api-tests/env.txt' and works fine![image](https://github.com/rangav/thunder-client-support/assets/148940089/753372fd-6885-4bab-9f33-d57500456098)
Going back to CLI, it was not recognized the updated filepath![image](https://github.com/rangav/thunder-client-support/assets/148940089/071fae14-94ac-4ca1-b337-965d3b418a8b)
It looks like there is an inconsistent behavior between the UI and CLI.
Thank you.