Skip to content

Commit 1480605

Browse files
committed
fix indent
1 parent d6a3884 commit 1480605

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CONTRIBUTION.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const (
6868

6969
// Struct to model user input (arguments and/or flags)
7070
type inputModel struct {
71-
*globalflags.GlobalFlagModel
72-
MyArg string
73-
MyFlag *string
71+
*globalflags.GlobalFlagModel
72+
MyArg string
73+
MyFlag *string
7474
}
7575

7676
// "bar" command constructor
@@ -131,17 +131,17 @@ func configureFlags(cmd *cobra.Command) {
131131

132132
// Parse user input (arguments and/or flags)
133133
func parseInput(p *print.Printer, cmd *cobra.Command, inputArgs []string) (*inputModel, error) {
134-
myArg := inputArgs[0]
134+
myArg := inputArgs[0]
135135

136136
globalFlags := globalflags.Parse(cmd)
137137
if globalFlags.ProjectId == "" {
138138
return nil, &errors.ProjectIdError{}
139139
}
140140

141141
model := inputModel{
142-
GlobalFlagModel: globalFlags,
142+
GlobalFlagModel: globalFlags,
143143
MyArg: myArg,
144-
MyFlag: flags.FlagToStringPointer(cmd, myFlag),
144+
MyFlag: flags.FlagToStringPointer(cmd, myFlag),
145145
}
146146

147147
// Write the input model to the debug logs

0 commit comments

Comments
 (0)