add name to contact info

This commit is contained in:
Ken Yasue
2025-03-25 06:31:19 +01:00
parent 6153b70c1e
commit 3d566a408e
6 changed files with 30 additions and 2815 deletions

View File

@ -58,7 +58,7 @@ export class WebDriverUtils {
export function saveContactInfoToCSV(city: string, contactInfo: ContactInfo, filePath: string): void {
const headers = 'City,Website URL,Email\n';
const line = `"${city},"${contactInfo.websiteUrl}","${contactInfo.email}"\n`;
const line = `"${city}","${contactInfo.name}","${contactInfo.websiteUrl}","${contactInfo.email}"\n`;
if (!existsSync(filePath)) {
writeFileSync(filePath, headers + line);