co-authored by
Copilot
parent
b737283803
commit
e11bd00d83
@@ -141,8 +141,6 @@ function getNonEmptyValue(str?: string) {
|
||||
// getDepgraphFiles recursively finds all files that match the filename within the directory
|
||||
function getDepgraphFiles(directory: string, filename: string): string[] {
|
||||
let files: string[] = [];
|
||||
// debug only
|
||||
files = readdirSync(directory);
|
||||
try {
|
||||
files = readdirSync(directory)
|
||||
.filter((f: string) => f === filename)
|
||||
|
||||
Reference in New Issue
Block a user