Add a mechanism to have as much information as possible about the current file/directory that's being processed.
I.e. we need to have a file name information available in src/lib/index.ts' sortImports method. If something goes wrong, we can print that file name in console, for debugging purposes.
This information should probably be provided by the caller (either CLI or extension). It can be maybe defined as the second info parameter.
Add a mechanism to have as much information as possible about the current file/directory that's being processed.
I.e. we need to have a file name information available in
src/lib/index.ts
'sortImports
method. If something goes wrong, we can print that file name in console, for debugging purposes.This information should probably be provided by the caller (either CLI or extension). It can be maybe defined as the second
info
parameter.