make environment variable interpolation preprocessor optional (#1715)

This commit is contained in:
Colin Hoglund
2020-07-06 15:13:35 -04:00
committed by GitHub
parent 97ae2979ad
commit 90dca65f55
5 changed files with 62 additions and 12 deletions

View File

@@ -66,7 +66,7 @@ func (j *jsonReader) Values(ch *source.ChangeSet) (reader.Values, error) {
if ch.Format != "json" {
return nil, errors.New("unsupported format")
}
return newValues(ch)
return newValues(ch, j.opts)
}
func (j *jsonReader) String() string {