1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-28 04:44:34 +02:00
Furkan Türkal ce4f2ed431
fix(ko): rework error message for relative path for .go suffix (#5005)
<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

...

<!-- Why is this change being made? -->

Even though `^\.?(\.\/[^\/]?.*)?$` was matching with `./cmd/main.go`, I
spent ~10m to figure this out why it was complaining. And noticed that,
we were returning the same error on different case, which is `HasSuffix`
check. Let's clarify the error message a bit for better UX.

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

...

Signed-off-by: Furkan <furkan.turkal@trendyol.com>
2024-07-17 10:59:39 -03:00
..
2024-05-26 15:02:57 -03:00
2024-05-26 15:02:57 -03:00
2023-06-14 23:59:55 -03:00
2024-06-22 22:43:57 -03:00
2024-05-26 15:02:57 -03:00
2024-06-11 09:23:21 -03:00
2024-06-05 16:28:17 -03:00
2024-05-26 15:02:57 -03:00