We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I have a typo (e.g. export EDITOR=cude) or I supply some spec that fails horribly it would be nice to know if it worked. E.g.
export EDITOR=cude
if (openEditor(['unicorn.js:5:3'])) { console.log('Editor opening working'); } else { console.warn('Editor opening failed'); }
Even better if it could be try { } catch instead of a boolean return.
try { } catch
The text was updated successfully, but these errors were encountered:
The openEditor method would have to be made async and awaited then. We would also have to use Promise.all here:
openEditor
Promise.all
open-editor/index.js
Lines 70 to 72 in 9c7afcb
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If I have a typo (e.g.
export EDITOR=cude
) or I supply some spec that fails horribly it would be nice to know if it worked. E.g.Even better if it could be
try { } catch
instead of a boolean return.The text was updated successfully, but these errors were encountered: