File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1673,10 +1673,9 @@ class DataExtension extends MetadataType {
16731673 * Used by {@link MetadataType.getDependentFiles}.
16741674 *
16751675 * @param {string[] } notFound keys that were not found in the child BU retrieve folder
1676- * @param {TypeKeyCombo } notFoundList accumulator of all not-found keys
16771676 * @returns {Promise.<string[]> } keys that should still trigger the default "not found" warning
16781677 */
1679- static async handleNotFoundDependencies ( notFound , notFoundList ) {
1678+ static async handleNotFoundDependencies ( notFound ) {
16801679 // on parent BU, shared DE check is not applicable
16811680 if ( this . buObject . eid === this . buObject . mid ) {
16821681 return notFound ;
@@ -1708,17 +1707,13 @@ class DataExtension extends MetadataType {
17081707 Util . logger . warn (
17091708 `References to it may need to be changed during deployment via mcdev templating or manually. To update the shared dataExtension itself, run build for the parent BU and deploy it separately.`
17101709 ) ;
1711- notFoundList [ this . definition . type ] ||= [ ] ;
1712- notFoundList [ this . definition . type ] . push ( key ) ;
17131710 } else if ( contentType === 'synchronizeddataextension' ) {
17141711 Util . logger . warn (
17151712 `dataExtension '${ key } ' is a synchronized dataExtension stored in _ParentBU_. It cannot be included in the child BU deployment package.`
17161713 ) ;
17171714 Util . logger . warn (
17181715 `The reference to it likely needs to be changed during deployment via mcdev templating or manually.`
17191716 ) ;
1720- notFoundList [ this . definition . type ] ||= [ ] ;
1721- notFoundList [ this . definition . type ] . push ( key ) ;
17221717 } else {
17231718 // regular dataExtension found on parent BU cannot be used from a child BU; treat as not found
17241719 stillNotFound . push ( key ) ;
Original file line number Diff line number Diff line change @@ -2785,7 +2785,7 @@ class MetadataType {
27852785 ( key ) => ! multiTypeKeyList [ this . definition . type ] . includes ( key )
27862786 ) ;
27872787 if ( notFound && notFound . length ) {
2788- const remainingNotFound = await this . handleNotFoundDependencies ( notFound , notFoundList ) ;
2788+ const remainingNotFound = await this . handleNotFoundDependencies ( notFound ) ;
27892789 if ( remainingNotFound . length ) {
27902790 Util . logger . warn (
27912791 Util . getGrayMsg (
@@ -2815,10 +2815,9 @@ class MetadataType {
28152815 * Used by {@link MetadataType.getDependentFiles}.
28162816 *
28172817 * @param {string[] } notFound keys that could not be found in the retrieve folder
2818- * @param {TypeKeyCombo } notFoundList accumulator of all not-found keys
28192818 * @returns {Promise.<string[]> } keys that should still trigger the default "not found" warning
28202819 */
2821- static async handleNotFoundDependencies ( notFound , notFoundList ) {
2820+ static async handleNotFoundDependencies ( notFound ) {
28222821 return notFound ;
28232822 }
28242823
You can’t perform that action at this time.
0 commit comments