Skip to content

validating that a value is set #103

@ebertech

Description

@ebertech

I may be missing something obvious, but is there a way to error out if a variable substitution is blank?

I guess there's two approaches:

  1. inside the body of a predicate. seems simple enough though is probably verbose.
  2. if there is even one unfulfilled replacement, then error out.

I think this:
https://golang.org/pkg/text/template/#Template.Option
handles option 2 but would require a change in the dockerize args parsing and template handling.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions