lib/psychic/runner/sample_runner.rb in psychic-runner-0.0.4 vs lib/psychic/runner/sample_runner.rb in psychic-runner-0.0.5

- old
+ new

@@ -71,10 +71,10 @@ end FileUtils.cp(file, backup_file) end def should_restore?(file, orig, timing = :before) - return true if [timing, 'always']. include? restore_mode + return true if [timing, 'always']. include? @restore_mode if interactive? @cli.yes? "Would you like to #{file} to #{orig} before running the sample?" end end