mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
f69526c140
refs #11085 - Incorrect usage error was logged to the output when there was no recirecst configuration file present in the system. Previously an empty string was returned in such situation, resulting in "ENOENT" error, which was ignored through special handling. - The fix resembles logic in redirects async getter function where empty array is returned when the config file does not exits. - Attempting to read unexistent config should not ever happen and will be handled on the config service layer, this is why special "ENOENT" handling has been removed |
||
---|---|---|
.. | ||
middlewares | ||
index.js | ||
utils.js |