mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Expanded requires of lib/common i18n and events
- Having these as destructured from the same package is hindering refactoring now - Events should really only ever be used server-side - i18n should be a shared module for now so it can be used everywhere until we figure out something better - Having them seperate also allows us to lint them properly
This commit is contained in:
parent
119c013229
commit
b8d64bfb28
@ -6,7 +6,7 @@ const errors = require('@tryghost/errors');
|
||||
const debug = require('ghost-ignition').debug('importer:members');
|
||||
const membersService = require('../index');
|
||||
const models = require('../../../models');
|
||||
const {i18n} = require('../../../lib/common');
|
||||
const i18n = require('../../../lib/common/i18n');
|
||||
const logging = require('../../../../shared/logging');
|
||||
|
||||
const handleUnrecognizedError = (error) => {
|
||||
|
Loading…
Reference in New Issue
Block a user