fix: Filter out dotted files

master
ogomez-at-wiris 2022-02-24 17:18:03 +01:00
parent 3c739524a8
commit f2c256653d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default class PackService {
let bpm: string = ""; let bpm: string = "";
// Setup walk // Setup walk
const noDots = (entry: fsWalk.Entry) => !entry.path.startsWith("."); const noDots = (entry: fsWalk.Entry) => !entry.name.startsWith(".");
const packFiles = await fsWalk.walkSync(`${PACK_BASE_PATH}/${packName}`, { const packFiles = await fsWalk.walkSync(`${PACK_BASE_PATH}/${packName}`, {
entryFilter: noDots, entryFilter: noDots,