+- Fixes an `ENOENT: no such file or directory` error in [yCodeTech/auto-comment-blocks#4](https://github.com/yCodeTech/auto-comment-blocks/issues/4). When trying to find the extension's package.json. The file path used the current directory `./`, which is redundant while using `__dirname` as well, and certain OS could interpret the file path `/extensions/ycodetech.automatic-comment-blocks-1.1.4/out/src./../../package.json` differently, hence the ENOENT error. Fixed by removing the `.` before the slash.
0 commit comments