Skip to content

Commit c16bd08

Browse files
committed
test(gen:endpoint): set filters if necessary
1 parent 454923d commit c16bd08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generators/endpoint/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class Generator extends NamedBase {
2424
}
2525

2626
prompting() {
27+
this.filters = this.filters || this.config.get('filters');
2728
let promptCb = props => {
2829
if(props.route.charAt(0) !== '/') {
2930
props.route = `/${props.route}`;

0 commit comments

Comments
 (0)