mirror of
https://github.com/safedep/vet.git
synced 2025-12-10 13:43:01 -06:00
fix: Use valid markdown convention for LFP npm
This commit is contained in:
parent
4efa6111ed
commit
c3b3e2525e
@ -112,7 +112,7 @@ func (npm *npmLockfilePoisoningAnalyzer) Analyze(manifest *models.PackageManifes
|
||||
logger.Debugf("npmLockfilePoisoningAnalyzer: Package [%s] resolved to an untrusted host [%s]",
|
||||
packageName, lockfilePackage.Resolved)
|
||||
|
||||
message := fmt.Sprintf("Package [%s] resolved to an untrusted host [%s]",
|
||||
message := fmt.Sprintf("Package `%s` resolved to an untrusted host `%s`",
|
||||
packageName, lockfilePackage.Resolved)
|
||||
|
||||
_ = handler(&AnalyzerEvent{
|
||||
@ -140,7 +140,7 @@ func (npm *npmLockfilePoisoningAnalyzer) Analyze(manifest *models.PackageManifes
|
||||
logger.Debugf("npmLockfilePoisoningAnalyzer: Package [%s] resolved to an unconventional URL [%s]",
|
||||
packageName, lockfilePackage.Resolved)
|
||||
|
||||
message := fmt.Sprintf("Package [%s] resolved to an URL [%s] that does not follow the "+
|
||||
message := fmt.Sprintf("Package `%s` resolved to an URL `%s` that does not follow the "+
|
||||
"package name path convention", packageName, lockfilePackage.Resolved)
|
||||
|
||||
_ = handler(&AnalyzerEvent{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user