mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 11:00:39 +00:00
add convert string
This commit is contained in:
parent
3be804f3da
commit
199d1f022a
@ -21,3 +21,9 @@ package converter
|
|||||||
func Convert(d []byte, m Metadata) ([]byte, error) {
|
func Convert(d []byte, m Metadata) ([]byte, error) {
|
||||||
return d, nil
|
return d, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ConvertString converts the yaml configuration file from
|
||||||
|
// the legacy format to the 1.0+ format.
|
||||||
|
func ConvertString(s string, m Metadata) (string, error) {
|
||||||
|
return s, nil
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user