Skip to content

Commit e81c86f

Browse files
thuchedejorgeucano
authored andcommitted
refactor(schematics): fix typo for markdown (#245)
1 parent 851fb12 commit e81c86f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import {Rule, SchematicContext, Tree} from '@angular-devkit/schematics';
22
import {RunSchematicTask} from '@angular-devkit/schematics/tasks';
33
import {Schema} from './schema';
4-
import {Schema as MarkownSchema} from '../create-markdown/schema';
4+
import {Schema as MarkdownSchema} from '../create-markdown/schema';
55

66
export default function(options: Schema): Rule {
77
return (tree: Tree, context: SchematicContext) => {
8-
const makrdownOptions: MarkownSchema = {
8+
const markdownOptions: MarkdownSchema = {
99
name: 'blog',
1010
slug: 'slug',
1111
sourceDir: 'blog',
@@ -14,8 +14,8 @@ export default function(options: Schema): Rule {
1414
};
1515

1616
if (options.routingScope) {
17-
makrdownOptions.routingScope = options.routingScope;
17+
markdownOptions.routingScope = options.routingScope;
1818
}
19-
context.addTask(new RunSchematicTask('create-markdown', makrdownOptions), []);
19+
context.addTask(new RunSchematicTask('create-markdown', markdownOptions), []);
2020
};
2121
}

0 commit comments

Comments
 (0)