Skip to content

Commit

Permalink
Merge pull request #412 from llllvvuu/fix/glob_dirs_only
Browse files Browse the repository at this point in the history
fix: add `nodir: true` to `getAllSolFilesIgnoringDependencyFolders` `glob()`
  • Loading branch information
juanfranblanco authored Feb 13, 2024
2 parents 13c340f + 25f0d2d commit 815c4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/model/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Project {
});
exclusions.push(path.join(this.projectPackage.getSolSourcesAbsolutePath(), this.projectPackage.build_dir, '**'));
this.getAllRelativeLibrariesAsExclusionsFromRemappings().forEach(x => exclusions.push(x));
return glob.sync( solPath, { ignore: exclusions});
return glob.sync( solPath, { ignore: exclusions, nodir: true })
}

public getAllRelativeLibrariesAsExclusionsFromRemappings(): string[] {
Expand Down

0 comments on commit 815c4ac

Please sign in to comment.