Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(@embark/core/console): silence errors when autocomplete is a…
…ttempted on bad reference Previously, in the embark cli dashboard/console, if you were to type `Foo.` and hit tab for autocomplete then (assuming you hadn't defined `Foo`) there would be unhandled errors and the console could even become unusable. Refactor `packages/core/console` and related code so that nothing happens when you attempt to autocomplete a bad reference (the same behavior as Node's own REPL).
- Loading branch information
1 parent
6b405d1
commit c320dcf
Showing
3 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters