# File lib/fastcst/command/abort.rb, line 20 20: def run 21: repo = Repository.new @repo_dir 22: md_file = File.join(repo.work_dir, "meta-data.yaml") 23: 24: abort = UI.ask("Are you sure you want to abort this revision? [Y/n]") 25: if abort.downcase == "y" 26: if File.exist?(md_file) 27: File.unlink(md_file) 28: end 29: 30: repo.delete 'Current Revision' 31: end 32: end