mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
refs: https://github.com/TryGhost/Toolbox/issues/146 Switched to @tryghost/logging instead of passing around the library. The main sticking points of this change are jobs. When jobs are launched we don't want them to use a separate @tryghost/logging instance because they would start parallel rotation jobs. @tryghost/logging v2.x passes all logs to the parent process if run in a child process, so that we can use the same patterns in jobs and the rest of the codebase.
6 lines
213 B
JavaScript
6 lines
213 B
JavaScript
const config = require('../../../../shared/config');
|
|
|
|
const ThemeI18n = require('./theme-i18n');
|
|
|
|
module.exports = new ThemeI18n({basePath: config.getContentPath('themes')});
|
|
module.exports.ThemeI18n = ThemeI18n;
|