1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Build scripts for generate / travis validation

This commit is contained in:
Craig Peterson
2017-01-12 07:20:37 -07:00
parent 7ba051d750
commit 7942a49953
8 changed files with 551 additions and 18 deletions

View File

@ -16,7 +16,7 @@ func ExecuteJavascript(script string, devMode bool) (*models.DNSConfig, error) {
helperJs := GetHelpers(devMode)
// run helper script to prime vm and initialize variables
if _, err := vm.Run(string(helperJs)); err != nil {
if _, err := vm.Run(helperJs); err != nil {
return nil, err
}