From 4c8458ef78606de0f50fc63eda2ba7b41a636794 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 19 Sep 2023 11:49:06 +0200 Subject: [PATCH] Fixed Admin-X path variable refs https://github.com/TryGhost/DevOps/issues/80 - I'd previously used the wrong one --- ghost/admin/lib/asset-delivery/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {