Fix waterfall error

This commit is contained in:
Bryan Ashby 2017-09-24 09:58:43 -06:00
parent bbd5ff7de3
commit 68da131b1b

View file

@ -580,7 +580,11 @@ function displayThemedPrompt(name, client, options, cb) {
client, client,
dispOptions, dispOptions,
(err, artInfo) => { (err, artInfo) => {
return callback(err, promptConfig, artInfo); if(err) {
return callback(err);
}
return callback(null, promptConfig, artInfo);
} }
); );
}, },