File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
schematics/scully/src/add-blog Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { Rule , SchematicContext , Tree } from '@angular-devkit/schematics' ;
2
2
import { RunSchematicTask } from '@angular-devkit/schematics/tasks' ;
3
3
import { Schema } from './schema' ;
4
- import { Schema as MarkownSchema } from '../create-markdown/schema' ;
4
+ import { Schema as MarkdownSchema } from '../create-markdown/schema' ;
5
5
6
6
export default function ( options : Schema ) : Rule {
7
7
return ( tree : Tree , context : SchematicContext ) => {
8
- const makrdownOptions : MarkownSchema = {
8
+ const markdownOptions : MarkdownSchema = {
9
9
name : 'blog' ,
10
10
slug : 'slug' ,
11
11
sourceDir : 'blog' ,
@@ -14,8 +14,8 @@ export default function(options: Schema): Rule {
14
14
} ;
15
15
16
16
if ( options . routingScope ) {
17
- makrdownOptions . routingScope = options . routingScope ;
17
+ markdownOptions . routingScope = options . routingScope ;
18
18
}
19
- context . addTask ( new RunSchematicTask ( 'create-markdown' , makrdownOptions ) , [ ] ) ;
19
+ context . addTask ( new RunSchematicTask ( 'create-markdown' , markdownOptions ) , [ ] ) ;
20
20
} ;
21
21
}
You can’t perform that action at this time.
0 commit comments