diff --git a/index.js b/index.js index 55cad05..7e4d829 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,10 @@ class Stats { } } -const VERSION = +process.versions.node.split('.').slice(0, 2).join('.') +const VERSION = +process.versions.node + .split('.') + .slice(0, 2) + .join('.') const EMPTY_STAT = new Stats() diff --git a/index.mjs b/index.mjs index 15c102d..2e3e0b5 100644 --- a/index.mjs +++ b/index.mjs @@ -21,7 +21,10 @@ class STATS { } } -const VERSION = +process.versions.node.split('.').slice(0, 2).join('.') +const VERSION = +process.versions.node + .split('.') + .slice(0, 2) + .join('.') const EMPTY_STAT = new STATS()