Skip to content

Commit 765b599

Browse files
committed
fix
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
1 parent 7c051f0 commit 765b599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/linters/module/rules/oss_library.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func verifyOssFile(moduleRoot string, errorList *errors.LintRuleErrorsList) {
8686
if os.IsNotExist(err) {
8787
errorList.WithFilePath(moduleRoot).Warn(ossFileErrorMessage(err))
8888
} else {
89-
errorList.Error(ossFileErrorMessage(err))
89+
errorList.WithFilePath(moduleRoot).Error(ossFileErrorMessage(err))
9090
}
9191

9292
return

0 commit comments

Comments
 (0)