Commit fdfea5a
committed
Fix lint (assert.ErrorIs) and remove incorrect login profile+arg conflict
The testifylint linter requires assert.ErrorIs over assert.True(errors.Is).
The blanket rejection of positional arg + --profile in login was wrong:
`databricks auth login https://host --profile myprofile` is valid (host as
positional arg with explicit profile). The profile-first resolution already
skips when profileName is set, so no extra guard is needed.
Co-authored-by: Isaac1 parent 6e56039 commit fdfea5a
2 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
0 commit comments