Skip to content

Commit

Permalink
Add null firebase configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
josephshin22 authored and chrisvire committed Jul 22, 2024
1 parent 55a5e87 commit cd41525
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions convert/convertFirebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ export function convertFirebase(dataDir: string, verbose: number) {
content = content.replace('const firebaseConfig', 'export const firebaseConfig');
writeFileSync(dstFile, content, 'utf-8');
} else {
if (existsSync(dstFile)) {
unlinkSync(dstFile);
}
const firebaseConfig = 'export const firebaseConfig = null;';
writeFileSync(dstFile, firebaseConfig);
}
}

Expand Down

0 comments on commit cd41525

Please sign in to comment.