Skip to content

Commit b2c085b

Browse files
committed
test
1 parent 4f23196 commit b2c085b

File tree

15 files changed

+6
-9
lines changed

15 files changed

+6
-9
lines changed

api/src/services/contentful.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ const processField = (
333333
}
334334
};
335335

336+
336337
// Helper function to clean up brackets in non-numeric lang_value
337338
const cleanBrackets = (lang_value: any) => {
338339
const myJSON = JSON.stringify(lang_value);

api/src/services/contentful/jsonRTE.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ function parseBlockAsset(obj: any, lang?: LangType, destination_stack_id?: Stack
314314
};
315315
}
316316

317+
317318
function parseBlockquote(obj: any): any {
318319
const children = obj.content.map((e: any) => parsers.get(e.nodeType)?.(e)).filter(Boolean);
319320
return {

api/src/services/sitecore.service.ts

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

1212
const append = "a";
13+
1314
const baseDirName = MIGRATION_DATA_CONFIG.DATA
1415
const {
1516
ENTRIES_DIR_NAME,

api/src/services/wordpress.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { getLogMessage } from "../utils/index.js";
1111
import { Advanced } from "../models/FieldMapper.js";
1212

1313
const { JSDOM } = jsdom;
14+
1415
const virtualConsole = new jsdom.VirtualConsole();
1516
// Get the current file's path
1617
const __filename = fileURLToPath(import.meta.url);

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const envContents = {
3333
'Upload-API': uploadAPIEnvContent,
3434
};
3535

36-
3736
// Function to create env files
3837
const createEnvFiles = () => {
3938
// Loop through each key in the envFilePaths object

upload-api/migration-contentful/config/index.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
"contentful": "contentfulSchema"
55
},
66
"fileName": "en-us.json"
7-
87
}

upload-api/migration-sitecore/constants/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const MIGRATION_DATA_CONFIG = {
4242

4343
EXPORT_INFO_FILE: "export-info.json"
4444
}
45+
4546
module.exports = {
4647
MIGRATION_DATA_CONFIG
4748
};

upload-api/migration-wordpress/config/index.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@
4848
"masterfile": "posts.json"
4949
}
5050
}
51-
5251
}

upload-api/src/config/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default {
1313
buketKey: 'project/package 45.zip'
1414
},
1515

16+
1617
localPath: '/home/gaurishn/Documents/contentstack/sitetitle.xml' //package 45.zip'
1718
// localPath: '/Users/umesh.more/Documents/ui-migration/migration-v2-node-server/upload-api/extracted_files/package 45.zip'
1819
};

upload-api/src/models/contentful.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@
3131
"name": "roles",
3232
"required": "false"
3333
}
34-
3534
}

0 commit comments

Comments
 (0)