re icon indicating copy to clipboard operation
re copied to clipboard

Back up review file before upload

Open rmloveland opened this issue 5 years ago • 1 comments

This change does the dumbest thing possible: make a backup of the review file with a .bak extension before attempting to push it back up to Github.

This addresses the main concern expressed in #10, which is that under the current behavior if the API call to Github fails, the temp file still gets deleted, and you can lose a lot of work.

rmloveland avatar Oct 16 '19 19:10 rmloveland

Will this lead to a lot of bak files everywhere that don't get cleaned up? :)

If you add a thing that deletes the bak file after a successful push that would feel more appealing to me if you wouldn't mind!

jordanlewis avatar Oct 16 '19 22:10 jordanlewis