Browse Source

Fix cleanup questions for NPM

pull/1785/head
jlukic 10 years ago
parent
commit
ee159a2b4f
2 changed files with 3 additions and 5 deletions
  1. 1
      tasks/config/project/install.js
  2. 7
      tasks/install.js

1
tasks/config/project/install.js

@ -207,7 +207,6 @@ module.exports = {
if(answers.uncompressed) {
json.paths.output.uncompressed = path.normalize(answers.uncompressed + '/');
}
console.log(json);
return json;
},

7
tasks/install.js

@ -156,6 +156,9 @@ module.exports = function () {
// insert PM questions after "Install Type" question
Array.prototype.splice.apply(questions.setup, [2, 0].concat(rootQuestions));
// omit cleanup questions for managed install
questions.cleanup = [];
}
/*--------------
@ -343,10 +346,6 @@ module.exports = function () {
;
}
// omit cleanup questions for managed install
if(installFolder) {
questions.cleanup = [];
}
console.log('');
console.log('');

Loading…
Cancel
Save