diff options
Diffstat (limited to 'lib/initialize.js')
-rw-r--r-- | lib/initialize.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/initialize.js b/lib/initialize.js index a134ed9..619210b 100644 --- a/lib/initialize.js +++ b/lib/initialize.js @@ -44,12 +44,12 @@ module.exports = function run(profile, argv) { confirm[0].message = 'Your current video preference is set to ' + profile.preset.video[1].underline + '. Switch to: ' + videoPreference.green; - profileAssesment(confirm, data); + profileAssesment(confirm, data, profile); }); } - function profileAssesment(confirm, data) { + function profileAssesment(confirm, data, profile) { inquirer.prompt(confirm, function prompt(answers) { if (!answers.confirm) { return console.log('i'.red + ' ' + pkg.name + ' requires video preferences set to ' + videoPreference + '.\n'); } |