Skip to content

Commit

Permalink
Remove double ee check
Browse files Browse the repository at this point in the history
  • Loading branch information
fdel-car committed Jan 25, 2023
1 parent 6fe16dc commit e1e812d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/strapi/lib/utils/startup-logger.js
Expand Up @@ -4,7 +4,6 @@ const chalk = require('chalk');
const CLITable = require('cli-table3');
const _ = require('lodash/fp');
const { getAbsoluteAdminUrl, getAbsoluteServerUrl } = require('@strapi/utils');
const ee = require('./ee');

module.exports = (app) => {
return {
Expand All @@ -19,15 +18,13 @@ module.exports = (app) => {
chars: { mid: '', 'left-mid': '', 'mid-mid': '', 'right-mid': '' },
});

const isEE = app.EE === true && ee.isEE === true;

infoTable.push(
[chalk.blue('Time'), `${new Date()}`],
[chalk.blue('Launched in'), `${Date.now() - app.config.launchedAt} ms`],
[chalk.blue('Environment'), app.config.environment],
[chalk.blue('Process PID'), process.pid],
[chalk.blue('Version'), `${app.config.info.strapi} (node ${process.version})`],
[chalk.blue('Edition'), isEE ? 'Enterprise' : 'Community'],
[chalk.blue('Edition'), app.EE ? 'Enterprise' : 'Community'],
[chalk.blue('Database'), app.db.dialect.client]
);

Expand Down

0 comments on commit e1e812d

Please sign in to comment.