Skip to content

Commit a3c9754

Browse files
committed
fix spell
1 parent 593677d commit a3c9754

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

commands/audit/sca/nuget/nuget.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func BuildDependencyTree(params utils.AuditParams) (dependencyTree []*xrayUtils.
6565
err = errors.Join(err, fileutils.RemoveTempDir(tmpWd))
6666
}()
6767

68-
// Exclude Visual Studio inner directorty since it is not neccessary for the scan process and may cause race condition.
68+
// Exclude Visual Studio inner directory since it is not necessary for the scan process and may cause race condition.
6969
err = biutils.CopyDir(wd, tmpWd, true, []string{sca.DotVsRepoSuffix})
7070
if err != nil {
7171
err = fmt.Errorf("failed copying project to temp dir: %w", err)

commands/audit/sca/pnpm/pnpm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func installProjectIfNeeded(pnpmExecPath, workingDir string) (dirForDependencies
117117
}
118118
}()
119119

120-
// Exclude Visual Studio inner directorty since it is not neccessary for the scan process and may cause race condition.
120+
// Exclude Visual Studio inner directory since it is not necessary for the scan process and may cause race condition.
121121
err = biutils.CopyDir(workingDir, dirForDependenciesCalculation, true, []string{sca.DotVsRepoSuffix})
122122
if err != nil {
123123
err = fmt.Errorf("failed copying project to temp dir: %w", err)

commands/audit/sca/python/python.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func getDependencies(auditPython *AuditPython) (dependenciesGraph map[string][]s
9494
)
9595
}()
9696

97-
// Exclude Visual Studio inner directorty since it is not neccessary for the scan process and may cause race condition.
97+
// Exclude Visual Studio inner directory since it is not necessary for the scan process and may cause race condition.
9898
err = biutils.CopyDir(wd, tempDirPath, true, []string{sca.DotVsRepoSuffix})
9999
if err != nil {
100100
return

utils/results/results.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func (sr *TargetResults) HasFindings() bool {
291291
}
292292
return false
293293
}
294-
294+
295295
func (sr *TargetResults) AddTargetError(err error, allowPartialResults bool) error {
296296
if allowPartialResults {
297297
log.Warn(fmt.Sprintf("Partial results are allowed, the error is skipped in target '%s': %s", sr.String(), err.Error()))

0 commit comments

Comments
 (0)