Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
efreitasn committed Jan 3, 2020
1 parent 90f7fc9 commit ce67580
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

var defaultDelayToKill = 1000
var configFileName = "wrun.json"
var configFileSchemaURL = "https://github.com/efreitasn/wrun/blob/master/wrun.schema.json"
var configFileSchemaURL = "https://raw.githubusercontent.com/efreitasn/wrun/master/wrun.schema.json"

// alwaysIgnoreGlobs is a list of glob patterns that are always ignored.
var alwaysIgnoreGlobs = []string{
Expand Down Expand Up @@ -103,11 +103,14 @@ func CreateConfigFile() error {
return err
}

cmdDefaultFatalIfErr := false
cf := configFile{
DelayToKill: &defaultDelayToKill,
FatalIfErr: false,
Cmds: []configFileCmd{configFileCmd{
Terms: []string{"echo", "hello", "world"},
Terms: []string{"echo", "hello", "world"},
DelayToKill: &defaultDelayToKill,
FatalIfErr: &cmdDefaultFatalIfErr,
}},
IgnoreGlobs: []string{},
Schema: configFileSchemaURL,
Expand Down

0 comments on commit ce67580

Please sign in to comment.