mirror of
https://github.com/OrcaSlicer/OrcaSlicer_WIKI.git
synced 2026-05-17 08:35:46 +03:00
Exclude 'images/misc' directory from file collection (#96)
Updates the unreferenced_images workflow to skip the 'misc' directory under 'images' when collecting files. This prevents files in 'images/misc' from being processed.
This commit is contained in:
1
.github/workflows/unreferenced_images.yml
vendored
1
.github/workflows/unreferenced_images.yml
vendored
@@ -54,6 +54,7 @@ jobs:
|
||||
}
|
||||
for (const entry of entries) {
|
||||
if (entry.name === '.git') continue;
|
||||
if (relativeDir === 'images' && entry.isDirectory() && entry.name === 'misc') continue;
|
||||
const rel = relativeDir ? `${relativeDir}/${entry.name}` : entry.name;
|
||||
if (entry.isDirectory()) {
|
||||
files.push(...collectFilesUnder(rel, extSet));
|
||||
|
||||
Reference in New Issue
Block a user