0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Removed a require of core/server from core/shared

issue https://github.com/TryGhost/Team/issues/694

Solves an eslint warning
This commit is contained in:
Thibaut Patel 2021-05-17 11:42:17 +02:00
parent 2af3d760a2
commit 9c498697c9

View file

@ -4,7 +4,7 @@ const errors = require('@tryghost/errors');
if (sentryConfig && !sentryConfig.disabled) {
const Sentry = require('@sentry/node');
const version = require('../server/lib/ghost-version').full;
const version = process.env.npm_package_version;
const environment = config.get('env');
Sentry.init({
dsn: sentryConfig.dsn,