code-complexity
code-complexity copied to clipboard
depreciation of fs.rmdir info on running tests
I noticed when running the CLI --> When format is json test, that a dep warning in future versions of Node fs.rmdir will be removed and recommended using fs.rm instead.
I see in the fixtures file we use rmdirSync method, its quite a small thing really, but to remove the dep info using the rmSync method instead might be worth considering.
Hi there,
Sorry for the delay, I released a fix in an alpha version for the incoming v5.
You can try it out here like this: npx code-complexity@alpha . --filter "**/*.ts" --sort=score -cs halstead