nw-model-miner
nw-model-miner copied to clipboard
Glob will alway return empty array
I have the problem, that the glob will always return an empty array of string.
nw-model-miner.mjs
const pakFilePaths = await globby(assetsPath + '/**/*.pak');
Does replacing it with the following work for you?
const pakFilePaths =
(await globby('**/*.pak', {cwd: assetsPath}))
.map(path => `${assetsPath}/${path}`);
Sorry for the late reply.