mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-09 20:12:26 +10:00
remove console.log statements
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
"plugins": ["simple-import-sort", "unused-imports"],
|
||||
"rules": {
|
||||
// eslint
|
||||
"no-console": "error",
|
||||
"no-return-await": "off",
|
||||
|
||||
// simple-import-sort
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -204,6 +204,7 @@ export class PrinterService {
|
||||
|
||||
return resumeUrl;
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.trace(error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user