@indra.ai/deva 1.4.26 → 1.4.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1501,7 +1501,7 @@ class Deva {
|
|
|
1501
1501
|
this.state('try', `help:${helpFile}`);
|
|
1502
1502
|
try {
|
|
1503
1503
|
const helpExists = fs.existsSync(helpPath);
|
|
1504
|
-
if (!helpExists) return
|
|
1504
|
+
if (!helpExists) return this.finish(this._messages.help_not_found, resolve);
|
|
1505
1505
|
const helpDoc = this.lib.fs.readFileSync(helpPath, 'utf8');
|
|
1506
1506
|
this.state('finish', `help:${helpFile}`);
|
|
1507
1507
|
return this.finish(helpDoc, resolve);
|