Make private file optional

This commit is contained in:
Owen 2025-10-15 17:22:43 -07:00
parent 4d87333b43
commit aebe6b80b7
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

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({});
}