Skip to content

Commit 421a509

Browse files
Copyright symbol removal to get inline with policy. (#183)
1 parent 4632343 commit 421a509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addlicense/tmpl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ const tmplMPL = `This Source Code Form is subject to the terms of the Mozilla Pu
144144
License, v. 2.0. If a copy of the MPL was not distributed with this
145145
file, You can obtain one at https://mozilla.org/MPL/2.0/.`
146146

147-
const tmplSPDX = `Copyright (c){{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }}
147+
const tmplSPDX = `Copyright{{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }}
148148
{{ if .SPDXID }}SPDX-License-Identifier: {{.SPDXID}}{{ end }}`
149149

150-
const tmplCopyrightOnly = `Copyright (c){{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }}`
150+
const tmplCopyrightOnly = `Copyright{{ if .Holder }} {{.Holder}}{{ end }}{{ if .Year }} {{.Year}}{{ end }}`
151151

152152
const spdxSuffix = "\n\nSPDX-License-Identifier: {{.SPDXID}}"

0 commit comments

Comments
 (0)