in src/base-exported-backend.ts [64:77]
private validatePath(exportPath: string): string {
const resolvePath = path.resolve(exportPath);
if(!fs.existsSync(resolvePath)) {
throw new Error(`Could not find path ${resolvePath}`)
}
const stat = fs.statSync(resolvePath);
if(!stat.isDirectory()){
throw new Error(`The path ${resolvePath} is not a directory`);
}
return resolvePath;
}