Skip to content

Commit

Permalink
#1177: cleanup & code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Sep 11, 2024
1 parent dffd7d0 commit 122c70c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/DataExtensionField.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/metadataTypes/DataExtensionField.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,9 @@ class DataExtensionField extends MetadataType {
// make sure we stringify the name in case it looked numeric and then lowercase it for easy comparison as the server is comparing field names case-insensitive
existingFieldByName[(fieldsObj[key].Name + '').toLowerCase()] = fieldsObj[key];
}
Util.logger.debug('existingFieldByName:');
Util.logger.debug(JSON.stringify(existingFieldByName));
for (let i = deployColumns.length - 1; i >= 0; i--) {
const item = deployColumns[i];
// make sure we stringify the name in case it looked numeric and then lowercase it for easy comparison as the server is comparing field names case-insensitive
const itemOld = existingFieldByName[(item.Name + '').toLowerCase()];
if (itemOld) {
// field is getting updated ---
Expand Down

0 comments on commit 122c70c

Please sign in to comment.