Skip to content

Commit 4b9b591

Browse files
committed
cheking workflow
1 parent 55b4e25 commit 4b9b591

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/repo-sync.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ jobs:
126126
"@typescript-eslint/no-var-requires": "off",
127127
"no-prototype-builtins": "off",
128128
"@typescript-eslint/no-explicit-any": "off",
129-
"no-constant-condition": "off"
129+
"no-constant-condition": "off",
130+
"no-constant-binary-expression": "off",
130131
}
131132
}
132133
];

upload-api/migration-sitecore/libs/configuration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const {
1313

1414

1515

16+
1617
const assignFolderName = ({ path }) => {
1718
const spliter = "/sitecore";
1819
const newPath = path.split(spliter)?.[1];

upload-api/migration-sitecore/libs/contenttypes.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const configChecker = path?.join('content', 'Common', 'Configuration');
1111
const append = 'a';
1212
let config = {};
1313

14-
1514
const {
1615
DATA_MAPPER_DIR,
1716
DATA_MAPPER_CONFIG_FILE,
@@ -373,8 +372,7 @@ const groupFlat = (data, item) => {
373372
contentstackField: item?.meta?.name,
374373
contentstackFieldUid: uidCorrector({ uid: item?.meta?.key }),
375374
contentstackFieldType: 'group',
376-
backupFieldType: 'group',
377-
backupFieldUid: uidCorrector({ uid: item?.meta?.key })
375+
backupFieldType: 'group'
378376
};
379377
flat?.push(group);
380378
data?.schema?.forEach((element) => {
@@ -398,6 +396,7 @@ const contentTypeMapper = ({
398396
components,
399397
standardValues,
400398
content_type,
399+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
401400
basePath,
402401
sitecore_folder,
403402
affix

0 commit comments

Comments
 (0)