This commit is contained in:
parent
490177e1e0
commit
a310955757
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl<'de> Deserialize<'de> for Tag {
|
||||||
{
|
{
|
||||||
match <&str>::deserialize(deserializer) {
|
match <&str>::deserialize(deserializer) {
|
||||||
Ok(s) => match serde_yaml::from_str(s) {
|
Ok(s) => match serde_yaml::from_str(s) {
|
||||||
Ok(tags) => Ok(Self { name: tags }),
|
Ok(tag) => Ok(Self { name: tag }),
|
||||||
Err(e) => Err(serde::de::Error::custom(e)),
|
Err(e) => Err(serde::de::Error::custom(e)),
|
||||||
},
|
},
|
||||||
Err(e) => Err(e),
|
Err(e) => Err(e),
|
||||||
|
|
Loading…
Reference in a new issue