remove console.log statements

This commit is contained in:
Amruth Pillai
2025-01-11 15:55:06 +01:00
parent 58ef309b68
commit 198c269790
4 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@
"plugins": ["simple-import-sort", "unused-imports"],
"rules": {
// eslint
"no-console": "error",
"no-return-await": "off",
// simple-import-sort

View File

@ -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);
}
}

View File

@ -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");

View File

@ -204,6 +204,7 @@ export class PrinterService {
return resumeUrl;
} catch (error) {
// eslint-disable-next-line no-console
console.trace(error);
}
}