From 68da131b1b13749b5fc6caf90e19b4c6b21f8754 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 24 Sep 2017 09:58:43 -0600 Subject: [PATCH] Fix waterfall error --- core/theme.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } ); },