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

Removed unnecessary rewire call

no issue

- Having rewire here doens't do any difference and should not be used if absolutely needed. Usually using rewire gives a code "smell" so there's some sort of coupling that's going on and probably has to be addressed first
This commit is contained in:
Naz 2021-11-22 14:53:16 +04:00
parent 23ba543abd
commit d3f899689a

View file

@ -5,7 +5,7 @@ const rewire = require('rewire');
const testUtils = require('../utils');
const configUtils = require('../utils/configUtils');
const models = require('../../core/server/models');
const UrlService = rewire('../../core/server/services/url/UrlService');
const UrlService = require('../../core/server/services/url/UrlService');
/**
* @NOTE