Skip to content

Commit

Permalink
remove console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Jan 11, 2025
1 parent 58ef309 commit 198c269
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"plugins": ["simple-import-sort", "unused-imports"],
"rules": {
// eslint
"no-console": "error",
"no-return-await": "off",

// simple-import-sort
Expand Down
1 change: 1 addition & 0 deletions apps/client/src/libs/lingui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export async function dynamicActivate(locale: string) {
dayjs.locale(await dayjsLocales[locale]());
}
} catch (error) {
// eslint-disable-next-line no-console
console.error(error);
}
}
2 changes: 0 additions & 2 deletions apps/server/src/mail/mail.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export class MailService {
async sendEmail(options: ISendMailOptions) {
const smtpUrl = this.configService.get("SMTP_URL");

console.log(smtpUrl);

// If `SMTP_URL` is not set, log the email to the console
if (!smtpUrl) {
Logger.log(options, "MailService#sendEmail");
Expand Down
1 change: 1 addition & 0 deletions apps/server/src/printer/printer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export class PrinterService {

return resumeUrl;
} catch (error) {
// eslint-disable-next-line no-console
console.trace(error);
}
}
Expand Down

0 comments on commit 198c269

Please sign in to comment.