My initial if statement does not come true by selecting 'gulp-studio'. The following code always outputs 'bye' into the console no matter my selection. I've tried a ton of different variants with no clue.
var gulp = require('gulp'),
    prompt = require('gulp-prompt'),
    gulpif = require('gulp-if'),
    shell = require('gulp-shell');
var response = 'response';
gulp.task('studio-wizard', function(){
return gulp.src(sourced.app, {read: false})
    .pipe(prompt.prompt([{
        type: 'checkbox',
        name: 'bump',
        message: 'Which version of Studi˚ would you like?',
        choices: ['gulp-studio', 'gulp-studio-vvv']
    }
    ], function(res){
        if (res.bump.indexOf("gulp-studio") > -1) {
            response = 'hello'
        } else {
             response = 'bye'
        }
    }));
});
gulp.task('generate-studio', ['studio-wizard'], function() {
return gulp.src(sourced.app)
    .pipe(shell([
  'echo' + ' ' + response 
]))
});
Can someone shed some light on how to solve this problem?
