Fixed indentation
This commit is contained in:
parent
f7c3dcfb38
commit
6ad5b27b27
|
@ -0,0 +1,10 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[.gitlab-ci.yml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
10
README.md
10
README.md
|
@ -27,14 +27,14 @@ then `Authenticate` again forever until no errors are returned.
|
||||||
for {
|
for {
|
||||||
// Pseudo-function to render the form and return the results of those forms
|
// Pseudo-function to render the form and return the results of those forms
|
||||||
// when the user confirms it.
|
// when the user confirms it.
|
||||||
outputs := renderAuthForm(svc.AuthenticateForm())
|
outputs := renderAuthForm(svc.AuthenticateForm())
|
||||||
|
|
||||||
if err := svc.Authenticate(outputs); err != nil {
|
if err := svc.Authenticate(outputs); err != nil {
|
||||||
renderError(errors.Wrap(err, "Error while authenticating"))
|
renderError(errors.Wrap(err, "Error while authenticating"))
|
||||||
continue // retry
|
continue // retry
|
||||||
}
|
}
|
||||||
|
|
||||||
break // success
|
break // success
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue