-
Notifications
You must be signed in to change notification settings - Fork 21.9k
Closed
Description
Steps to reproduce
Saving an error of syntax in rails secrets:edit
leads to block the file forever.
Example:
login: *login # Here is the syntax error
username: 'me@myself.andi'
password: '1234'
development:
<<: *login
Expected behavior
While running rails secrets:edit
again, open the file without error
Actual behavior
/Users/leo/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:377:in 'parse': (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1 (Psych::SyntaxError)
System configuration
Rails version:
5.1.2
Ruby version:
2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
(Not sure if the issue is already reported, if so, my bad, I must have missed it)
rnickmccandless
Metadata
Metadata
Assignees
Labels
No labels