File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,8 +167,11 @@ Object {
167167` ;
168168
169169exports [` generator:app src/ generates source file based on plugin name 1` ] = `
170- "export default function funTime() {
171-
170+ "/**
171+ * Danger plugin that tells you to have a fun time
172+ */
173+ export default function funTime() {
174+ // TODO
172175}
173176"
174177` ;
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ export default class extends Generator {
161161 this . fs . copy ( this . templatePath ( 'babelrc' ) , this . destinationPath ( '.babelrc' ) )
162162
163163 this . fs . copyTpl ( this . templatePath ( 'src/**' ) , this . destinationPath ( 'src' ) , {
164+ ...this . props ,
164165 pluginFunctionName,
165166 } )
166167
Original file line number Diff line number Diff line change 1+ /**
2+ * <%= description %>
3+ */
14export default function <%= pluginFunctionName %>() {
2-
5+ // TODO
36}
You can’t perform that action at this time.
0 commit comments