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

Commit0e55071

Browse files
committed
Fix linting
1 parent42302bc commit0e55071

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

‎coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8094,7 +8094,7 @@ func (q *FakeQuerier) UpdateUserDeletedByID(_ context.Context, id uuid.UUID) err
80948094
returnsql.ErrNoRows
80958095
}
80968096

8097-
func (q*FakeQuerier)UpdateUserGithubComUserID(ctx context.Context,arg database.UpdateUserGithubComUserIDParams)error {
8097+
func (q*FakeQuerier)UpdateUserGithubComUserID(_ context.Context,arg database.UpdateUserGithubComUserIDParams)error {
80988098
err:=validateDatabaseType(arg)
80998099
iferr!=nil {
81008100
returnerr

‎coderd/externalauth/externalauth.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,9 @@ func (r roundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
968968
// IsGithubDotComURL returns true if the given URL is a github.com URL.
969969
funcIsGithubDotComURL(strstring)bool {
970970
str=strings.ToLower(str)
971-
url,err:=url.Parse(str)
971+
ghUrl,err:=url.Parse(str)
972972
iferr!=nil {
973973
returnfalse
974974
}
975-
returnurl.Host=="github.com"
975+
returnghUrl.Host=="github.com"
976976
}

‎site/src/pages/ExternalAuthPage/ExternalAuthPageView.stories.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ WebAuthenticated.args = {
2222
app_installable:false,
2323
display_name:"BitBucket",
2424
user:{
25+
id:0,
2526
avatar_url:"https://avatars.githubusercontent.com/u/7122116?v=4",
2627
login:"kylecarbs",
2728
name:"Kyle Carberry",
@@ -104,6 +105,7 @@ DeviceAuthenticatedNotInstalled.args = {
104105
app_install_url:"https://example.com",
105106
app_installable:true,
106107
user:{
108+
id:0,
107109
avatar_url:"https://avatars.githubusercontent.com/u/7122116?v=4",
108110
login:"kylecarbs",
109111
name:"Kyle Carberry",
@@ -123,6 +125,7 @@ DeviceAuthenticatedInstalled.args = {
123125
configure_url:"https://example.com",
124126
id:1,
125127
account:{
128+
id:0,
126129
avatar_url:"https://github.com/coder.png",
127130
login:"coder",
128131
name:"Coder",
@@ -133,6 +136,7 @@ DeviceAuthenticatedInstalled.args = {
133136
app_install_url:"https://example.com",
134137
app_installable:true,
135138
user:{
139+
id:0,
136140
avatar_url:"https://avatars.githubusercontent.com/u/7122116?v=4",
137141
login:"kylecarbs",
138142
name:"Kyle Carberry",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp