Skip to content

Commit a88364c

Browse files
committed
chore: remove unused import
1 parent 2fd5889 commit a88364c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cli/sharing.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import (
1111
"github.com/coder/serpent"
1212
)
1313

14+
const defaultGroupDisplay = "-"
15+
1416
type workspaceShareRow struct {
1517
User string `table:"user"`
1618
Group string `table:"group,default_sort"`
@@ -172,7 +174,7 @@ func (r *RootCmd) shareWorkspace(orgContext *OrganizationContext) *serpent.Comma
172174

173175
outputRows = append(outputRows, workspaceShareRow{
174176
User: user.Username,
175-
Group: "-",
177+
Group: defaultGroupDisplay,
176178
Role: user.Role,
177179
})
178180
}

cli/sharing_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package cli_test
33
import (
44
"bytes"
55
"fmt"
6-
"slices"
76
"strings"
87
"testing"
98

0 commit comments

Comments
 (0)