mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-13 01:57:38 +08:00
build: remove config check
Im not sure how to get it to work. It either works when it shouldnt or doesnt when it should.
This commit is contained in:
parent
513983f1e2
commit
86df6c769e
1 changed files with 0 additions and 9 deletions
|
@ -29,15 +29,6 @@ task("validate-json-schema", function () {
|
|||
|
||||
const taskWithWebpackConfig = (webpackConfig) => {
|
||||
return async () => {
|
||||
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. For more information, check CONTRIBUTING_ADVANCED.md`;
|
||||
throw new Error(msg);
|
||||
}
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
webpack(webpackConfig, (err, stats) => {
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Reference in a new issue