Skip to content

Commit

Permalink
Format internal/model/model.go
Browse files Browse the repository at this point in the history
This is failing linting (gofmt -s).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
  • Loading branch information
skitt committed Jan 5, 2024
1 parent edece1a commit 94e4287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ type ModuleReference struct {
}

// pathRgx covers
// - unix paths: ".", "..", prefixed "./", prefixed "../", prefixed "/"
// - windows paths: ".", "..", prefixed ".\", prefixed "..\", prefixed "<drive>:\"
// - unix paths: ".", "..", prefixed "./", prefixed "../", prefixed "/"
// - windows paths: ".", "..", prefixed ".\", prefixed "..\", prefixed "<drive>:\"
var pathRgx = regexp.MustCompile(`^(\.\.?($|/|\\)|/|[A-Za-z]:\\)`)

// IsLocal returns true if the module reference points to a local path
Expand Down

0 comments on commit 94e4287

Please sign in to comment.