Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

In init templates, package keywords can be set on props.

  • Loading branch information...
commit 41d9e912136cb36cfdadc01c10ffb8634090a3fc 1 parent 0cf795c
@cowboy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tasks/init.js
View
2  tasks/init.js
@@ -211,7 +211,7 @@ module.exports = function(grunt) {
if (props.dependencies) { pkg.dependencies = props.dependencies; }
if (props.devDependencies) { pkg.devDependencies = props.devDependencies; }
- pkg.keywords = [];
+ pkg.keywords = props.keywords || [];
// Allow final tweaks to the pkg object.
if (callback) { pkg = callback(pkg, props); }
Please sign in to comment.
Something went wrong with that request. Please try again.