fix: Filter out dotted files
parent
3c739524a8
commit
f2c256653d
|
@ -25,7 +25,7 @@ export default class PackService {
|
|||
let bpm: string = "";
|
||||
|
||||
// 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}`, {
|
||||
entryFilter: noDots,
|
||||
|
|
Loading…
Reference in New Issue