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
Wasn't sure if I should file this as feature request or bug. If you share a pattern with the same name as an existing one it will overwrite whatever is there. This is useful as it allows you to update an existing pattern, however I don't think it should overwrite the README with an empty file.
Expected Behavior
The template.yaml should be updated, but the readme should not
Current Behavior
The readme file of the pattern is overwritten
Possible Solution
We could check if there is already a readme file and if there is skip creating it
We could prompt and ask if readme should be created
We could have a specific update command or update flag
Steps to Reproduce (for bugs)
Share a pattern
Update the README
Make some updates to the pattern
Share the pattern again using the same name
Environment
SAM Patterns CLI version:
Node version:
NPM version:
The text was updated successfully, but these errors were encountered:
Wasn't sure if I should file this as feature request or bug. If you share a pattern with the same name as an existing one it will overwrite whatever is there. This is useful as it allows you to update an existing pattern, however I don't think it should overwrite the README with an empty file.
Expected Behavior
The template.yaml should be updated, but the readme should not
Current Behavior
The readme file of the pattern is overwritten
Possible Solution
Steps to Reproduce (for bugs)
Environment
The text was updated successfully, but these errors were encountered: