Skip to content

Commit 068dfa4

Browse files
sis0k0hansl
authored andcommitted
fix(@schematics/schematics): prefix unused argument with underscore
The `options` arguments is not used in the function. This causes the TypeScript compilation to fail. fixes #11916
1 parent 3d80aa8 commit 068dfa4

File tree

1 file changed

+1
-1
lines changed
  • packages/schematics/schematics/blank/schematic-files/src/__name@dasherize__

1 file changed

+1
-1
lines changed

packages/schematics/schematics/blank/schematic-files/src/__name@dasherize__/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
33

44
// You don't have to export the function as default. You can also have more than one rule factory
55
// per file.
6-
export function <%= camelize(name) %>(options: any): Rule {
6+
export function <%= camelize(name) %>(_options: any): Rule {
77
return (tree: Tree, _context: SchematicContext) => {
88
return tree;
99
};

0 commit comments

Comments
 (0)