common-questions
Advanced tools
Comparing version 0.2.2 to 0.2.3
12
index.js
@@ -13,2 +13,4 @@ /*! | ||
module.exports = function(config) { | ||
config = config || {}; | ||
return function(app, base) { | ||
@@ -72,8 +74,4 @@ if (!utils.isValid(app, 'common-questions')) return; | ||
default: projectOwner(app) | ||
}) | ||
}); | ||
/** | ||
* Decrecated | ||
*/ | ||
app.questions.disable('save') | ||
@@ -94,3 +92,3 @@ .set('name', 'Project name?', { | ||
default: projectOwner(app) | ||
}) | ||
}); | ||
}; | ||
@@ -166,3 +164,3 @@ }; | ||
if (!config || !config.user) { | ||
config = git.sync('global'); | ||
config = utils.parse.sync('global'); | ||
} | ||
@@ -169,0 +167,0 @@ if (!config || !config.user || typeof config.user.name !== 'string') { |
{ | ||
"name": "common-questions", | ||
"description": "An object of questions commonly used by project generators or when initializing projects. Questions can be overridden, updated or extended.", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://github.com/generate/common-questions", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7418
169