diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/template.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/template.js b/lib/template.js index ce05473..c1446a9 100644 --- a/lib/template.js +++ b/lib/template.js @@ -29,7 +29,10 @@ function fmt(words, maxLine, glue1, glue2) { } -function render(src, pkg) { +function render({ + src, + pkg +}) { const deps = pkg.dependencies || {}; const devDeps = pkg.devDependencies || {}; const npmInputs = Object.keys({...deps, @@ -86,4 +89,4 @@ ${source} `; } -module.exports = render; +module.exports = render;
\ No newline at end of file |