Skip to content

Commit 14bad1d

Browse files
committed
generator: remove commercial license from generated code
1 parent 01a1d22 commit 14bad1d

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

pkg/generator/codegen_tmpls.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414

1515
package generator
1616

17-
const boilerplateTmpl = `/*
18-
Copyright YEAR The {{.ProjectName}} Authors
19-
20-
Commercial software license.
21-
*/
17+
const boilerplateTmpl = `
2218
`
2319

2420
const updateGeneratedTmpl = `#!/usr/bin/env bash

pkg/generator/generator_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,7 @@ func TestGenBuild(t *testing.T) {
234234
}
235235
}
236236

237-
const boilerplateExp = `/*
238-
Copyright YEAR The play Authors
239-
240-
Commercial software license.
241-
*/
237+
const boilerplateExp = `
242238
`
243239

244240
const updateGeneratedExp = `#!/usr/bin/env bash

0 commit comments

Comments
 (0)