mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-17 21:45:51 +00:00
Make private file optional
This commit is contained in:
@@ -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({});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user