diff --git a/src/snapshot-generator.ts b/src/snapshot-generator.ts index 3329960..f997f8e 100644 --- a/src/snapshot-generator.ts +++ b/src/snapshot-generator.ts @@ -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)