Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Apr 15, 2023
1 parent f04f945 commit 51864ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const MAX_SESSION_LENGTH = 3600;

// Convert an array to comma-separated list
function formatToCSVLine(params) {
return `"${params.map((x) => ("" + x).replace(/"/g, '""')).join('","')}"`;
return `"${params.map((x) => `${x}`.replace(/"/g, '""')).join('","')}"`;
}

function formatDate(date) {
Expand Down

0 comments on commit 51864ef

Please sign in to comment.