@arghajit/playwright-pulse-report 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
+ #!/usr/bin/env node
1
2
  import * as fs from "fs/promises";
2
3
  import path from "path";
3
- // XLSX is NO LONGER NEEDED here
4
4
 
5
5
  // Use dynamic import for chalk as it's ESM only for prettier console logs
6
6
  let chalk;
@@ -265,11 +265,11 @@ const sendEmail = async (credentials) => {
265
265
  const mailOptions = {
266
266
  from: credentials.username,
267
267
  to: [
268
- process.env.SENDER_EMAIL_1 || "",
269
- process.env.SENDER_EMAIL_2 || "",
270
- process.env.SENDER_EMAIL_3 || "",
271
- process.env.SENDER_EMAIL_4 || "",
272
- process.env.SENDER_EMAIL_5 || "",
268
+ process.env.RECIPIENT_EMAIL_1 || "",
269
+ process.env.RECIPIENT_EMAIL_2 || "",
270
+ process.env.RECIPIENT_EMAIL_3 || "",
271
+ process.env.RECIPIENT_EMAIL_4 || "",
272
+ process.env.RECIPIENT_EMAIL_5 || "",
273
273
  ].filter((email) => email), // Filter out empty strings
274
274
  subject: "Pulse Report " + new Date().toLocaleString(),
275
275
  html: htmlContent,