Fix application isLegacy check for rename and deploy

Change-type: patch
This commit is contained in:
JSReds
2023-03-10 15:54:31 +01:00
parent b0cae93ac9
commit ecf4b046b5
5 changed files with 6 additions and 6 deletions

View File

@ -340,7 +340,7 @@ ${dockerignoreHelp}
);
let release: Release | ComposeReleaseInfo['release'];
if (appType?.is_legacy) {
if (appType.slug === 'legacy-v1' || appType.slug === 'legacy-v2') {
const { deployLegacy } = require('../utils/deploy-legacy');
const msg = getChalk().yellow(