mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +03:00
Fixed Admin-X path variable
refs https://github.com/TryGhost/DevOps/issues/80 - I'd previously used the wrong one
This commit is contained in:
parent
8843d3c25b
commit
4c8458ef78
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user