diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index f2ac20ef7..6b7735b81 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -167,7 +167,7 @@ jobs: npx ts-remove-unused-imports upload-api/ # Remove missing imports - npx ts-prune | awk '{print $1}' | xargs -I {} sed -i '/import/d' {} + npx ts-prune | grep -E '^(api/|ui/|upload-api/)/' | awk '{print $1}' | xargs -I {} sed -i '/import/d' {} # Format code npx prettier --write . diff --git a/api/src/services/sitecore.service.ts b/api/src/services/sitecore.service.ts index f64bcad6a..2ba20de07 100644 --- a/api/src/services/sitecore.service.ts +++ b/api/src/services/sitecore.service.ts @@ -9,6 +9,7 @@ import { orgService } from './org.service.js'; import { getLogMessage } from '../utils/index.js'; import customLogger from '../utils/custom-logger.utils.js'; + const append = "a"; const baseDirName = MIGRATION_DATA_CONFIG.DATA const {