mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:44:03 +03:00
Add tests for config type port
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ type TypeURL struct {
|
||||
value *url.URL
|
||||
}
|
||||
|
||||
func (c *TypeURL) UnmarshalText(data []byte) error {
|
||||
func (c *TypeURL) UnmarshalText(data []byte) error { // nolint: cyclop
|
||||
if len(data) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user