Skip to content

Commit 0e17ea1

Browse files
committed
remove deprecated build option
1 parent dfd947b commit 0e17ea1

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

pkg/generator/helper/helper.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ func {{ .StepName }}Metadata() config.StepData {
373373

374374
// StepTestGoTemplate ...
375375
const stepTestGoTemplate = `//go:build unit
376-
// +build unit
377376
378377
package cmd
379378

pkg/generator/helper/helper_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build unit
2-
// +build unit
32

43
package helper
54

@@ -57,7 +56,7 @@ spec:
5756
type: stash
5857
params:
5958
- name: param0
60-
aliases:
59+
aliases:
6160
- name: oldparam0
6261
type: string
6362
description: param0 description
@@ -67,7 +66,7 @@ spec:
6766
- PARAMETERS
6867
mandatory: true
6968
- name: param1
70-
aliases:
69+
aliases:
7170
- name: oldparam1
7271
deprecated: true
7372
type: string

pkg/generator/helper/testdata/TestProcessMetaFiles/test_code_generated.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build unit
2-
// +build unit
32

43
package cmd
54

0 commit comments

Comments
 (0)