@xylabs/ts-scripts-yarn3 7.1.6 → 7.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1912,7 +1912,7 @@ async function getRootESLintConfig() {
1912
1912
  }
1913
1913
  function getFiles(dir, ignoreFolders) {
1914
1914
  const currentDirectory = cwd4();
1915
- const subDirectory = dir.split(currentDirectory)[1];
1915
+ const subDirectory = dir.split(currentDirectory)[1]?.split("/")[1];
1916
1916
  if (ignoreFolders.includes(subDirectory)) return [];
1917
1917
  return readdirSync(dir, { withFileTypes: true }).flatMap((dirent) => {
1918
1918
  const res = path10.resolve(dir, dirent.name);