Skip to content

Commit 6284772

Browse files
committed
workflow test
1 parent 1d60ffe commit 6284772

File tree

15 files changed

+9
-6
lines changed

15 files changed

+9
-6
lines changed

api/src/services/contentful.service.ts

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

336-
337336
// Helper function to clean up brackets in non-numeric lang_value
338337
const cleanBrackets = (lang_value: any) => {
339338
const myJSON = JSON.stringify(lang_value);

api/src/services/contentful/jsonRTE.ts

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

317-
318317
function parseBlockquote(obj: any): any {
319318
const children = obj.content.map((e: any) => parsers.get(e.nodeType)?.(e)).filter(Boolean);
320319
return {

api/src/services/sitecore.service.ts

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

1212
const append = "a";
13-
1413
const baseDirName = MIGRATION_DATA_CONFIG.DATA
1514
const {
1615
ENTRIES_DIR_NAME,

api/src/services/wordpress.service.ts

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

1313
const { JSDOM } = jsdom;
14-
1514
const virtualConsole = new jsdom.VirtualConsole();
1615
// Get the current file's path
1716
const __filename = fileURLToPath(import.meta.url);

index.js

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

36+
3637
// Function to create env files
3738
const createEnvFiles = () => {
3839
// Loop through each key in the envFilePaths object

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

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

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

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

4343
EXPORT_INFO_FILE: "export-info.json"
4444
}
45-
4645
module.exports = {
4746
MIGRATION_DATA_CONFIG
4847
};

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

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

upload-api/src/config/index.ts

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

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

upload-api/src/models/contentful.json

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

0 commit comments

Comments
 (0)