Skip to content

Commit

Permalink
add missing writeToString to ego-list formatter class
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Oct 16, 2024
1 parent d61202c commit 5bf3f96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/formatters/csv/ego-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ class EgoListFormatter {
writeToStream(outStream) {
return toCSVStream(this.list, outStream);
}

writeToString() {
return toCSVString(this.list);
}
}

module.exports = {
Expand Down

0 comments on commit 5bf3f96

Please sign in to comment.