Skip to content

proprietary-license incorrectly detected (false positive)  #3518

@DennisClark

Description

@DennisClark

A recent scan of opentofu-main.zip (there are no tags or releases)
from https://github.com/opentofu/opentofu
returned proprietary-license incorrectly. Here is what I found in the scan results:

"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_276.RULE", "start_line": 31, "matched_text": "\t// function may not be modified after calling this since they can be", "match_coverage": 100.0, "matched_length": 4, "rule_relevance": 100, "rule_identifier": "proprietary-license_276.RULE", "license_expression": "proprietary-license" }

It seems to me that the matched_text "\t// function may not be modified after calling this since they can be" has nothing to do with licensing, and is more likely code comments regarding code logic and how it should be used.

proprietary-license_276.RULE needs to be investigated and probably removed.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions