Methods
(inner) loadAdvents(dirPath) → {Array.<Object>}
Load and Validate Advents from Directory
Parameters:
Name | Type | Description |
---|---|---|
dirPath |
string | Path to Advents Directory |
- Source:
Throws:
An Error if Invalid Advents exist, printing the File Names
Returns:
Array of Valid Advents
- Type
- Array.<Object>