Fix wsl_v5 blank line before if statements
Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -1135,6 +1135,7 @@ func TestAccessReviewCampaign_FullLifecycle(t *testing.T) {
|
||||
// All entries should be PENDING
|
||||
for _, edge := range campaignResult.Node.Entries.Edges {
|
||||
assert.Equal(t, "PENDING", edge.Node.Decision)
|
||||
|
||||
if edge.Node.Email == "jane@example.com" {
|
||||
require.NotNil(t, edge.Node.Active)
|
||||
assert.True(t, *edge.Node.Active)
|
||||
|
||||
@@ -313,6 +313,7 @@ func NewCmdList(f *cmdutil.Factory) *cobra.Command {
|
||||
}
|
||||
|
||||
active := "unknown"
|
||||
|
||||
if e.Active != nil {
|
||||
if *e.Active {
|
||||
active = "active"
|
||||
|
||||
Reference in New Issue
Block a user