diff --git a/core/theme.js b/core/theme.js index c5b90233..0796b8ab 100644 --- a/core/theme.js +++ b/core/theme.js @@ -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); } ); },