SebRollen / toml-action

14 stars 8 forks source link

fix: do not throw error when parent of nested field is missing #12

Open adrianschmidt opened 1 year ago

adrianschmidt commented 1 year ago

Instead of erroring when the parent of a nested field is missing, just return the empty value.

fix: #13

This PR does not make it possible for the consumer to choose whether the action should error or return an empty value. If that functionality is wanted, I'm happy to provide a PR that does that instead.