Config validation helper function

Had a frustrating session debugging some code in a Space-LUA script today. Spent a lot of time stepping through it, only to find the real culprit was a simple mistake in my configuration file itself. Less learning, more head-scratching!

As a result, I decided to write a config validation helper function. Here’s the result:

no script yet, sorry, found an error so i have to fix it first… :persevering_face:

1 Like

it should be fixed now - here the links to the Gist:
config_validation.md
config_validation_test.md

Please leave a comment for issues, suggestions, improvements or what else you want to comment :laughing:

1 Like