Skip to content

Commit

Permalink
chore: replace hardcoded newlines with os.EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
peternhale committed Mar 22, 2024
1 parent 893ea08 commit 0d281aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/reporters/humanFormatTransform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { nls } from '../i18n';
import { Readable, ReadableOptions } from 'node:stream';
import { elapsedTime } from '../utils';
import { LoggerLevel } from '@salesforce/core';
import { EOL } from 'os';

export class HumanFormatTransform extends Readable {
constructor(
Expand Down Expand Up @@ -138,7 +139,7 @@ export class HumanFormatTransform extends Readable {
}
);

this.push('\n\n');
this.push(`${EOL}${EOL}`);
tb.createTable(
testRowArray,
[
Expand Down

0 comments on commit 0d281aa

Please sign in to comment.