Julien-cpsn / ATAC

A simple API client (postman like) in your terminal
https://atac.julien-cpsn.com/
MIT License
1.86k stars 81 forks source link

Crash when sending a request (index out of bounds) #62

Closed payolin closed 4 months ago

payolin commented 4 months ago

Steps: Set ATAC_MAIN_DIR to empty folder ~/.atac Ran atac, importing a JSON postman file Issued a request from the config Upon hitting space, the application crashes with the following message:

thread 'main' panicked at src/app/app_logic/environment:12:26
index out of bounds: the len is 0 but the index is 0
Julien-cpsn commented 4 months ago

Hello,

it is the same as here https://github.com/Julien-cpsn/ATAC/issues/60

Sorry for this bug, the fix will be in the next release

Julien-cpsn commented 4 months ago

https://github.com/Julien-cpsn/ATAC/releases/tag/v0.15.1