Added input defaults and automatic build on pre-commit #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@jamesrplee The main.ts file now defines a set of default values that will be used when an input is missing.
This means that if the input isn't passed in then the value here will be used.
For example, this request is saying to hide logos but it will use the default title as there is no value passed in. The way there is no undefined string printed as there is always a fallback value.
https://cdn.make.cm/make/t/439a758e-3335-48b3-a923-c8ffccb702c4/k/6f1e51fd-dac7-468a-b73c-33092bfc0150.a797e51d472c0d6c32517d5edb7f2907/sync?size=A4&format=pdf&data[showLogos]=false