Skip to content

Commit

Permalink
apply code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gabor-toth authored and tkurki committed Dec 15, 2024
1 parent 91c54a1 commit 8102ec5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/streams/n2kAnalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ function N2KAnalyzer(options) {
this.linereader.on('line', function (data) {
try {
let parsed = JSON.parse(data)
if ( parsed.version ) {
console.log('Connected to analyzer v'+parsed.version);
return;
if (parsed.version) {
console.log('Connected to analyzer v' + parsed.version)
return
}
that.push(parsed)
options.app.emit(that.analyzerOutEvent, parsed)
Expand Down

0 comments on commit 8102ec5

Please sign in to comment.