Skip to content

Commit 20d7a5b

Browse files
authored
Merge pull request #547 from contentstack/feature/workflow
final prune checking
2 parents a79d137 + b61605d commit 20d7a5b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
npx ts-remove-unused-imports upload-api/
168168
169169
# Remove missing imports
170-
npx ts-prune | awk '{print $1}' | xargs -I {} sed -i '/import/d' {}
170+
npx ts-prune | grep -E '^(api/|ui/|upload-api/)/' | awk '{print $1}' | xargs -I {} sed -i '/import/d' {}
171171
172172
# Format code
173173
npx prettier --write .

api/src/services/sitecore.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { orgService } from './org.service.js';
99
import { getLogMessage } from '../utils/index.js';
1010
import customLogger from '../utils/custom-logger.utils.js';
1111

12+
1213
const append = "a";
1314
const baseDirName = MIGRATION_DATA_CONFIG.DATA
1415
const {

0 commit comments

Comments
 (0)