mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 15:36:41 +01:00
docs: fix typo implmentation -> implementation (#5243)
Signed-off-by: Vaibhav Srivastava <vaibhavsri1712@gmail.com>
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ func (c Attributes) String() string {
|
|||||||
|
|
||||||
// sanitize is a modified version of WFNize function from nvdtools
|
// sanitize is a modified version of WFNize function from nvdtools
|
||||||
// that quotes all the allowed punctation chars with a slash and replaces
|
// that quotes all the allowed punctation chars with a slash and replaces
|
||||||
// spaces with underscores. It differs from the upstream implmentation as
|
// spaces with underscores. It differs from the upstream implementation as
|
||||||
// it does not use the buggy nvdtools implementation, specifically the "addSlashesAt" part of the
|
// it does not use the buggy nvdtools implementation, specifically the "addSlashesAt" part of the
|
||||||
// function which stops the loop as soon as it encounters ":" a valid
|
// function which stops the loop as soon as it encounters ":" a valid
|
||||||
// character for a WFN attribute after quoting, but the way nvdtools
|
// character for a WFN attribute after quoting, but the way nvdtools
|
||||||
|
|||||||
Reference in New Issue
Block a user