Trex icon indicating copy to clipboard operation
Trex copied to clipboard

trex delete doesnt delete all the packages in import_map.json

Open Atticus64 opened this issue 3 years ago • 4 comments

Describe the bug

When i run from powershell trex delete doesnt delete the package from import_map.json file

To Reproduce Steps to reproduce the behavior:

  1. Run in powershell trex delete some_package

Screenshots bug

Desktop

  • OS: Windows 10
  • Deno version: 1.12.1
  • Trex Version 1.29.4

Some times works but with some specific packages dont work

Atticus64 avatar Jan 23 '23 00:01 Atticus64

maybe the problem is the name of import is custom, idk

Atticus64 avatar Jan 23 '23 00:01 Atticus64

@ghaerdi do you want to close this issue?

Atticus64 avatar Jan 23 '23 14:01 Atticus64

I will leave this issue open until the fix is released in the next trex version (probably 1.12.2 or 1.13.0). I want to add some unit testing ASAP before releasing it. The fix is available in the canary version, you can switch to it using the next command:

trex upgrade --canary

ghaerdi avatar Jan 23 '23 15:01 ghaerdi

Oh thanks @ghaerdi

Atticus64 avatar Jan 23 '23 15:01 Atticus64