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:
parent
2af3d760a2
commit
9c498697c9
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue