Skip to content

Commit

Permalink
fix(schematics): provide default path value
Browse files Browse the repository at this point in the history
Closes #473
  • Loading branch information
mhartington committed Jul 15, 2022
1 parent 767598e commit 07bba34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/schematics/component/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"type": "string",
"format": "path",
"description": "The path to create the page",
"visible": false
"visible": false,
"$default": {
"$source": "workingDirectory"
}
},
"project": {
"type": "string",
Expand Down
5 changes: 4 additions & 1 deletion packages/schematics/page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"type": "string",
"format": "path",
"description": "The path to create the page",
"visible": false
"visible": false,
"$default": {
"$source": "workingDirectory"
}
},
"project": {
"type": "string",
Expand Down

0 comments on commit 07bba34

Please sign in to comment.