Skip to content

Commit

Permalink
Update tools/cli-client/internals/trigger/build_metadata.go
Browse files Browse the repository at this point in the history
Co-authored-by: Cristovao Cordeiro <[email protected]>
  • Loading branch information
zhijie-yang and cjdcordeiro authored Sep 24, 2024
1 parent 194cb5b commit bb519b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cli-client/internals/trigger/build_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func InferBuildMetadata() BuildMetadata {
regex := regexp.MustCompile(`github.com[:\/](canonical\/[A-Za-z0-9_-]*)(\.git)?`)
matches := regex.FindStringSubmatch(remoteURL)
if len(matches) < 3 {
fmt.Fprintf(os.Stderr, "oci-factory must be called in a git local repository belongs to the organization [canonical]\n")
fmt.Fprintf(os.Stderr, "oci-factory must be called in a git local repository belonging to the organization [canonical]\n")
os.Exit(1)
}
source := matches[1]
Expand Down

0 comments on commit bb519b8

Please sign in to comment.