Fix waterfall error

This commit is contained in:
Bryan Ashby 2017-09-24 09:58:43 -06:00
parent bbd5ff7de3
commit 68da131b1b
1 changed files with 5 additions and 1 deletions

View File

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