Skip to content

Commit

Permalink
Merge branch 'develop-6.6.x' into epic/b2b-commerce-quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Larisa-Staroverova committed Oct 19, 2023
2 parents 79f5d92 + 376f1b7 commit 117547d
Show file tree
Hide file tree
Showing 8 changed files with 3,680 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
*/

import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
import { ConstructorDeprecation } from '../../../shared/utils/file-utils';
import { migrateConstructorDeprecation } from '../../mechanism/constructor-deprecations/constructor-deprecations';

export const CONSTRUCTOR_DEPRECATIONS_DATA: ConstructorDeprecation[] = [];
import { GENERATED_CONSTRUCTOR_MIGRATIONS } from './data/generated-constructor.migration';

export function migrate(): Rule {
return (tree: Tree, context: SchematicContext) => {
return migrateConstructorDeprecation(
tree,
context,
CONSTRUCTOR_DEPRECATIONS_DATA
GENERATED_CONSTRUCTOR_MIGRATIONS
);
};
}
Loading

0 comments on commit 117547d

Please sign in to comment.