mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 08:13:28 +08:00
build: fix incorrect path
This commit is contained in:
parent
0a163582bd
commit
1320adaab7
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ const DEV_CONFIG = {
|
|||
],
|
||||
};
|
||||
|
||||
if (!fs.existsSync(resolve(__dirname, "../src/constants/firebase-config.ts"))) {
|
||||
if (
|
||||
!fs.existsSync(resolve(__dirname, "../src/ts/constants/firebase-config.ts"))
|
||||
) {
|
||||
const msg = `File firebase-config.ts is missing! Please duplicate firebase-config-example.ts and rename it to firebase-config.ts. If you are using Firebase, fill in the values in the config file. If not, you can leave the fields blank.`;
|
||||
throw new Error(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue