Skip to content

Commit

Permalink
docs(csv-generate): comment indentation in samples
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Aug 11, 2023
1 parent 22f4017 commit aaa6c7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/csv-generate/README.md
Expand Up @@ -45,17 +45,17 @@ generate({
columns: 2,
length: 2
})
// Use the readable stream api to consume generated records
// Use the readable stream api to consume generated records
.on('readable', function(){
let record; while((record = this.read()) !== null){
records.push(record);
}
})
// Catch any error
// Catch any error
.on('error', function(err){
console.error(err);
})
// Test that the generated records matched the expected records
// Test that the generated records matched the expected records
.on('end', function(){
assert.deepEqual(records, [
[ 'OMH', 'ONKCHhJmjadoA' ],
Expand Down

0 comments on commit aaa6c7b

Please sign in to comment.