mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 12:08:21 +02:00
Fix waterfall error
This commit is contained in:
parent
bbd5ff7de3
commit
68da131b1b
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue