({ root, templateDir, verbose })
| 62 | }; |
| 63 | |
| 64 | const appendLoader = ({ root, templateDir, verbose }) => ({ path }) => { |
| 65 | const newPath = path.replace(/.append$/, ''); |
| 66 | appendFile(`${templateDir}/${path}`, `${root}/${newPath}`, verbose); |
| 67 | }; |
| 68 | |
| 69 | const templateLoader = ({ root, templateDir, appName, alias, verbose, mode }) => ({ path }) => { |
| 70 | const flag = mode.includes('append') ? 'a+' : 'w'; |
nothing calls this directly
no test coverage detected