Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita88364c

Browse files
committed
chore: remove unused import
1 parent2fd5889 commita88364c

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+
constdefaultGroupDisplay="-"
15+
1416
typeworkspaceShareRowstruct {
1517
Userstring`table:"user"`
1618
Groupstring`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)

[8]ページ先頭

©2009-2025 Movatter.jp