Don't force all config to be explicit.

This commit is contained in:
Jeffrey Regan
2019-01-11 11:34:12 -08:00
parent a5c6938c65
commit 60dc3aa09d

View File

@@ -28,10 +28,10 @@ type Factory struct {
ldr ifc.Loader
}
// TODO(#6060) Maybe switch to the false path permanently
// (desired by #606), or expose this as a new customization
// directive.
const demandExplicitConfig = true
// TODO(#606): Setting this to false satisfies the feature
// request in 606. The todo is to delete the non-active
// code path in a subsequent PR.
const demandExplicitConfig = false
func MakeTransformerConfig(
ldr ifc.Loader, paths []string) (*TransformerConfig, error) {