mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-16 02:25:32 +00:00
Small improvements and fixes
This commit is contained in:
@@ -9,6 +9,12 @@ import { readFile as _readFile, readdir as _readdir } from "fs";
|
||||
const readDir = promisify(_readdir);
|
||||
const readFile = promisify(_readFile);
|
||||
|
||||
/**
|
||||
* Performs checks on the passed model to
|
||||
* determine how to parse it
|
||||
* @param model
|
||||
*/
|
||||
|
||||
export async function getModelContents(model: FactoryOptions["model"]) {
|
||||
const isModelValid = (
|
||||
model && (
|
||||
|
||||
Reference in New Issue
Block a user