Skip to content

Conversation

ibuildthecloud
Copy link
Contributor

No description provided.

@ibuildthecloud ibuildthecloud force-pushed the cache-openapi branch 2 times, most recently from 13acb33 to cb4913c Compare May 10, 2024 21:20
@@ -37,7 +40,14 @@ func getCommitLsRemote(ctx context.Context, account, repo, ref string) (string,
return git.LsRemote(ctx, url, ref)
}

// regexp to match a git commit id
var commitRegexp = regexp.MustCompile("^[a-z0-9]{40}$")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
var commitRegexp = regexp.MustCompile("^[a-z0-9]{40}$")
var commitRegexp = regexp.MustCompile("^[a-f0-9]{40}$")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, good catch

@ibuildthecloud ibuildthecloud merged commit f664d57 into gptscript-ai:main May 13, 2024
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