aboutsummaryrefslogtreecommitdiff
path: root/config_match_license.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-12 16:10:30 +0700
committerShulhan <ms@kilabit.info>2026-01-12 21:19:48 +0700
commit2a8ab762eabbe53f358eecd337872957d1afa01c (patch)
tree2c4e2363e9a051c7b1534e28e3c8883da45099c3 /config_match_license.go
parent1dbd1e4c64a65c2f601cae42e63e6c5150c3acca (diff)
downloadspdxconv-2a8ab762eabbe53f358eecd337872957d1afa01c.tar.xz
config_match_license: remove unused field DeleteMatch
The line that match with pattern will be replaced with new SPDX license identifier, so no need to guard it with this flag.
Diffstat (limited to 'config_match_license.go')
-rw-r--r--config_match_license.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/config_match_license.go b/config_match_license.go
index 3caddc1..818e806 100644
--- a/config_match_license.go
+++ b/config_match_license.go
@@ -24,10 +24,6 @@ type configMatchLicense struct {
// A line that match with this pattern will be deleted.
// An empty line stop the search.
DeleteLinePattern []string `ini:"match-license::delete_line_pattern"`
-
- // DeleteMatch if set to true, the line that match with Pattern will
- // be deleted.
- DeleteMatch bool `ini:"match-license::delete_match"`
}
func (cml *configMatchLicense) init() (err error) {