diff --git a/ghost/admin/lib/asset-delivery/index.js b/ghost/admin/lib/asset-delivery/index.js index 44ac32a154..47af121b32 100644 --- a/ghost/admin/lib/asset-delivery/index.js +++ b/ghost/admin/lib/asset-delivery/index.js @@ -48,7 +48,7 @@ module.exports = { const adminXSettingsPath = '../../apps/admin-x-settings/dist'; const assetsAdminXPath = `${assetsOut}/assets/libs/admin-x-settings`; - if (fs.existsSync(assetsAdminXPath)) { + if (fs.existsSync(adminXSettingsPath)) { if (this.env === 'production') { fs.copySync(adminXSettingsPath, assetsAdminXPath, {overwrite: true, dereference: true}); } else {