Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo
  • Loading branch information
Emyrk committed Jul 18, 2023
commit 664a81a31c0f4b0349eedf7daa61d7e6c1b736f2
2 changes: 1 addition & 1 deletion coderd/database/dbfake/dbfake.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ func (q *FakeQuerier) templateWithUser(tpl database.TemplateTable) database.Temp
}
}
var withUser database.Template
// This is a cheeky way to copy the fields over without explictly listing them all.
// This is a cheeky way to copy the fields over without explicitly listing them all.
d, _ := json.Marshal(tpl)
_ = json.Unmarshal(d, &withUser)
withUser.CreatedByUsername = user.Username
Expand Down
2 changes: 1 addition & 1 deletion coderd/database/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
go run golang.org/x/tools/cmd/goimports@latest -w queries.sql.go

go run ../../scripts/dbgen/main.go
# This will error if a view is broken.
# This will error if a view is broken.
go test -run=TestViewSubset
)