Skip to content

Commit

Permalink
throw on config error
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Nov 18, 2023
1 parent f2731ed commit 3bdd1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ export const parseConfig = (userConfig: Config) => {
printConfigErrors(generateOnlyCheck.error);
}

process.exit(1);
throw new Error('Configuration error');
};

const configDirBase = process.env.LOST_PIXEL_CONFIG_DIR ?? process.cwd();
Expand Down

0 comments on commit 3bdd1bc

Please sign in to comment.