mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 14:43:05 -03:00
fixed Vendor function's comment
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
|||||||
yaml "gopkg.in/yaml.v2"
|
yaml "gopkg.in/yaml.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Vendor reads from buf and builds vendor_matchers.go file from VendorTmplPath.
|
// Vendor reads from buf and builds vendor_matchers.go file from vendorTmplPath.
|
||||||
func Vendor(data []byte, vendorTmplPath, vendorTmplName, commit string) ([]byte, error) {
|
func Vendor(data []byte, vendorTmplPath, vendorTmplName, commit string) ([]byte, error) {
|
||||||
var regexpList []string
|
var regexpList []string
|
||||||
if err := yaml.Unmarshal(data, ®expList); err != nil {
|
if err := yaml.Unmarshal(data, ®expList); err != nil {
|
||||||
|
Reference in New Issue
Block a user