From eda1c2c79262dce783bc05fb9211cc5d4ba23e65 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 15 Jun 2020 11:33:50 -0500 Subject: [PATCH] lint --- packages/console-server/src/resolvers/system.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/console-server/src/resolvers/system.js b/packages/console-server/src/resolvers/system.js index 75fb27e..702355b 100644 --- a/packages/console-server/src/resolvers/system.js +++ b/packages/console-server/src/resolvers/system.js @@ -28,10 +28,10 @@ const getVersionInfo = () => { // TODO(telackey): Get from config (or figure out a better way to do this). const versionFile = '/opt/xbox/VERSION'; if (fs.existsSync(versionFile)) { - return fs.readFileSync(versionFile, { encoding: 'UTF8' }).replace(/^\s+|\s+$/g, '') + return fs.readFileSync(versionFile, { encoding: 'UTF8' }).replace(/^\s+|\s+$/g, ''); } return undefined; -} +}; /** * Get system inforamtion.