You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug summary
When aws-amplify/amplify-cli apply an option of add api, an error occurred as below.
Error: Command failed: osascript -e 'tell application "Terminal" to do script "cd /Users/chris/Projects/training/nab2019-aws-workshop/aws-amplify-unicorntrivia-workshop-master; emacs --no-splash \"+1:1\" \"/Users/chris/Projects/training/nab2019-aws-workshop/amplify/backend/api/adminpanel/schema.graphql"'\"
266:268: syntax error: A “"” can’t go after this “"”. (-2740)
I researched this bug and I found out that open-in-editor's escaping logic is wrong.
@lahmatiy I encountered a bug that open-in-editor does't work correctly when editor is emacs.
Background
reference:
aws-amplify/amplify-cli#1246
Bug summary
When aws-amplify/amplify-cli apply an option of
add api
, an error occurred as below.I researched this bug and I found out that open-in-editor's escaping logic is wrong.
My proposal
To fix this bug, change lib/open.js as below.
Pull request
#16
Please consider that, I hope my pull request will be help to
open-in-editor
.Thank you and best regard.
The text was updated successfully, but these errors were encountered: