Skip to content

Commit

Permalink
Fix pusher config loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Siegrift committed Sep 25, 2023
1 parent e4799e4 commit 82fdf02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/data-pusher/src/validation/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const loadConfig = async () => {
const rawSecrets = dotenv.parse(readFileSync(join(configPath, 'secrets.env'), 'utf8'));

const goLoadConfig = await go(async () => {
const rawConfig = JSON.parse(fs.readFileSync(configPath, 'utf8'));
const rawConfig = JSON.parse(fs.readFileSync(join(configPath, 'pusher.json'), 'utf8'));
const secrets = parseSecrets(rawSecrets);
return configSchema.parseAsync(interpolateSecrets(rawConfig, secrets));
});
Expand Down

0 comments on commit 82fdf02

Please sign in to comment.