Make private file optional

This commit is contained in:
Owen
2025-10-15 17:22:43 -07:00
parent 4d87333b43
commit aebe6b80b7

View File

@@ -174,6 +174,9 @@ export function readPrivateConfigFile() {
// test if the config file is there
if (!fs.existsSync(privateConfigFilePath1)) {
console.warn(
`Private configuration file not found at ${privateConfigFilePath1}. Using default configuration.`
);
// load the default values of the zod schema and return those
return privateConfigSchema.parse({});
}