File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -128,23 +128,23 @@ jobs:
128128 # npm install eslint -g
129129 # eslint . --fix
130130
131- echo "Running autoflake to remove unused imports..."
132- pip install autoflake
133- autoflake --remove-all-unused-imports --recursive --in-place .
131+ # echo "Running autoflake to remove unused imports..."
132+ # pip install autoflake
133+ # autoflake --remove-all-unused-imports --recursive --in-place .
134134
135- echo "Running ts-prune to remove unused file references..."
136- npm install -g ts-prune
137- ts-prune | awk '{print $1}' | xargs rm -f
135+ # echo "Running ts-prune to remove unused file references..."
136+ # npm install -g ts-prune
137+ # ts-prune | awk '{print $1}' | xargs rm -f
138138
139139 rsync -av --delete ${{ env.RSYNC_SITECORE_API_SRC_SERVICES_EXCLUDES }} ../api/ ./api/
140140 rsync -av --delete ../cli/ ./cli/
141141 rsync -av --delete ../ui/ ./ui/
142142 rsync -av --delete ${{ env.RSYNC_SITECORE_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/src/ ./upload-api/src/
143143 rsync -av --delete ../upload-api/migration-sitecore/ ./upload-api/migration-sitecore/
144144
145- npx ts-remove-unused-imports ./api
146- npx ts-remove-unused-imports ./ui
147- npx ts-remove-unused-imports ./upload-api
145+ npx ts-remove-unused-imports
146+ npx ts-prune | awk '{print $1}' | xargs sed -i '' -e '/import/d'
147+ npx prettier --write .
148148
149149 git add .
150150 git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { orgService } from './org.service.js';
99import { getLogMessage } from '../utils/index.js' ;
1010import customLogger from '../utils/custom-logger.utils.js' ;
1111
12-
1312const append = "a" ;
1413const baseDirName = MIGRATION_DATA_CONFIG . DATA
1514const {
You can’t perform that action at this time.
0 commit comments