This commit is contained in:
telackey committed 2020-06-15 11:33:50 -05:00
1 parent 0397e2b36b
commit eda1c2c792
1 file changed
+2 -2
@@ -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.