Skip to content

Commit

Permalink
fix sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hakwookim committed Oct 7, 2024
1 parent 371c1f3 commit 3c33dc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions projects/ssr-tests/src/utils/log.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export function clearSsrLogFile(): void {
*/
export function getRawLogs(): string[] {
const data = fs.readFileSync(SSR_LOG_PATH).toString();
const logs = data.toString().split('\n');
return logs;
return data.toString().split('\n');
}

/**
Expand Down

0 comments on commit 3c33dc1

Please sign in to comment.