Skip to content

Commit 6e3dcf7

Browse files
authored
Merge pull request #488 from contentstack/feature/workflow
workflow changes test
2 parents fef1d09 + df01dda commit 6e3dcf7

File tree

9 files changed

+8
-2
lines changed

9 files changed

+8
-2
lines changed

api/src/services/contentful.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ const processField = (
331331
break;
332332
}
333333
}
334+
334335
};
335336

336337
// Helper function to clean up brackets in non-numeric 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
@@ -12,6 +12,7 @@ import customLogger from '../utils/custom-logger.utils.js';
1212

1313
const append = "a";
1414

15+
1516
const baseDirName = MIGRATION_DATA_CONFIG.DATA
1617
const {
1718
ENTRIES_DIR_NAME,

api/src/services/wordpress.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const { JSDOM } = jsdom;
1515
const virtualConsole = new jsdom.VirtualConsole();
1616
// Get the current file's path
1717
const __filename = fileURLToPath(import.meta.url);
18+
1819
// Get the current directory
1920
const __dirname = path.dirname(__filename);
2021

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: 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
"fileName": "en-us.json",
4848
"masterfile": "posts.json"
4949

50-
51-
5250
}
5351
}
5452
}

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
};

0 commit comments

Comments
 (0)