Skip to content

Commit

Permalink
Restore missing migration data (#17987)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpawelczak authored Oct 19, 2023
1 parent ac5b4d4 commit 376f1b7
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 376f1b7

Please sign in to comment.