Skip to content

Commit a0a90f6

Browse files
committed
Dropping console.logs
1 parent f8596b1 commit a0a90f6

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/client/auth/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,12 @@ const setup = (auth: Auth) => {
4343
}
4444

4545
export function getAuth(app?: FirebaseApp) {
46-
console.log('yo!');
4746
const auth = getFirebaseAuth(app);
4847
setup(auth);
4948
return auth;
5049
}
5150

5251
export function initializeAuth(app: FirebaseApp, deps?: Dependencies) {
53-
console.log('yo!');
5452
const auth = initializeFirebaseAuth(app, deps);
5553
setup(auth);
5654
return auth;

src/frameworks/next.js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import nextExport from 'next/dist/export';
2121
import { copy } from 'fs-extra';
2222
import { trace } from 'next/dist/trace';
2323

24-
import { DeployConfig, PathFactory, exec, findDependency, getWebpackPlugin } from '../../utils';
24+
import { DeployConfig, PathFactory, findDependency, getWebpackPlugin } from '../../utils';
2525

2626
export const build = async (config: DeployConfig | Required<DeployConfig>, getProjectPath: PathFactory) => {
2727

src/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export const getWebpackPlugin = (webpack: typeof import('webpack'), cwd: string)
9292
if (client === 'auth' && lt(firebaseDependency.version, MIN_FIREBASE_SDK_FOR_AUTH)) return;
9393
// TODO log to the firebase.log
9494
console.log(`Substituting import of '${resource.request}' with 'firebase-frameworks/client/${client}' in ${relative(cwd, resource.context)}.`);
95-
console.log(require.resolve(`firebase-frameworks/client/${client}`));
9695
resource.request = require.resolve(`firebase-frameworks/client/${client}`);
9796
})
9897
};

0 commit comments

Comments
 (0)