Clean dependencies

This commit is contained in:
TheArcaneBrony
2022-08-07 22:32:04 +02:00
parent d334340fac
commit c70d15b564
5 changed files with 4 additions and 46 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ parts.forEach((part) => {
missing: [],
using: [],
};
x = JSON.parse(execIn("npx depcheck --json", partDir).stdout);
let dcproc = execIn("npx depcheck --json", partDir);
if(dcproc.stdout) x = JSON.parse(dcproc.stdout);
else x = JSON.parse(dcproc);
fs.writeFileSync(
path.join(__dirname, "..", `depclean.out.${part}.json`),