Skip to content

Commit

Permalink
chore: remove too noisy silly-log message (#6754)
Browse files Browse the repository at this point in the history
It can produce tens of megabytes of logs that do not help in debugging.
  • Loading branch information
vvagaytsev authored Jan 9, 2025
1 parent 5a38558 commit f891a32
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/src/vcs/git-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export class GitRepoHandler extends AbstractGitHandler {

const filtered = this.filterPaths({
files: filesAtPath,
log,
path,
augmentedIncludes,
augmentedExcludes,
Expand All @@ -191,14 +190,12 @@ export class GitRepoHandler extends AbstractGitHandler {
}

private filterPaths({
log,
files,
path,
augmentedIncludes,
augmentedExcludes,
filter,
}: {
log: GetFilesParams["log"]
files: VcsFile[]
path: string
augmentedIncludes: string[]
Expand All @@ -214,7 +211,6 @@ export class GitRepoHandler extends AbstractGitHandler {
// Previously we prepended the module path to the globs
// but that caused issues with the glob matching on windows due to backslashes
const relativePath = p.replace(`${path}${sep}`, "")
log.silly(() => `Checking if ${relativePath} matches include/exclude globs`)
return matchPath(relativePath, augmentedIncludes, augmentedExcludes)
})
}
Expand Down

0 comments on commit f891a32

Please sign in to comment.