Skip to content

Conversation

thedadams
Copy link
Contributor

No description provided.

Signed-off-by: Donnie Adams <[email protected]>
go test -v -tags='smoke' ./pkg/tests/smoke/...

GOLANGCI_LINT_VERSION ?= v1.59.0
GOLANGCI_LINT_VERSION ?= v1.60.1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bump to support Go 1.23

// Handle path-level server override, if one exists
pathServer := defaultServer
if pathObj.Servers != nil && len(pathObj.Servers) > 0 {
if len(pathObj.Servers) > 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New linter complaint.

// Handle path-level server override, if one exists.
pathServer := defaultServer
if pathItem.Servers != nil && len(pathItem.Servers) > 0 {
if len(pathItem.Servers) > 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New linter complaint.

return nil
}
if _, err := os.Stat(filepath.Join(tool.WorkingDir, packageJSON)); errors.Is(fs.ErrNotExist, err) {
if _, err := os.Stat(filepath.Join(tool.WorkingDir, packageJSON)); errors.Is(err, fs.ErrNotExist) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New linter complaint, which is actually a bug.

content, loadErr := input.FromLocation(reqObject.File, reqObject.DisableCache)
if loadErr != nil {
logger.Errorf(loadErr.Error())
logger.Errorf("failed to load file: %v", loadErr)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New linter complaint.

@thedadams thedadams merged commit 78b5c3d into gptscript-ai:main Aug 14, 2024
@thedadams thedadams deleted the go-1-23-0 branch August 14, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants