From 921d2a6324c59788baadef1b9954b39c5478fd96 Mon Sep 17 00:00:00 2001 From: Scott Bender Date: Thu, 25 Jul 2024 08:47:10 -0400 Subject: [PATCH] chore: fix formatting --- raymarine/65379.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/raymarine/65379.js b/raymarine/65379.js index f1f5dde..9906a9f 100644 --- a/raymarine/65379.js +++ b/raymarine/65379.js @@ -3,17 +3,18 @@ module.exports = [ node: 'steering.autopilot.state', value: function (n2k) { var mode = n2k.fields['Pilot Mode'] - if ( typeof mode === 'string' ) { - if ( mode === "Standby" ) - { + if (typeof mode === 'string') { + if (mode === 'Standby') { return 'standby' - } else if ( mode === "Auto, compass commanded" ) { + } else if (mode === 'Auto, compass commanded') { return 'auto' - } else if ( mode === "Vane, Wind Mode" ) { + } else if (mode === 'Vane, Wind Mode') { return 'wind' - } else if ( mode === "Track Mode" ) { + } else if (mode === 'Track Mode') { return 'route' - } else if ( mode === "No Drift, COG referenced (In track, course changes)" ) { + } else if ( + mode === 'No Drift, COG referenced (In track, course changes)' + ) { return 'route' } } else {