Closed Tomate0613 closed 1 year ago
I noticed that running the following script caused an error when deleting the test folder in Windows file explorer because the stream was not closed:
const { readFabricMod } = require('@xmcl/mod-parser');
(async () => { await readFabricMod('./test/test.jar');
// keep the program alive setInterval(() => { }, 1000); })();
The fix should prevent the error from occurring.
I noticed that running the following script caused an error when deleting the test folder in Windows file explorer because the stream was not closed:
const { readFabricMod } = require('@xmcl/mod-parser');
(async () => { await readFabricMod('./test/test.jar');
// keep the program alive setInterval(() => { }, 1000); })();
The fix should prevent the error from occurring.