lib/cms_scanner/helper.rb in cms_scanner-0.0.39.2 vs lib/cms_scanner/helper.rb in cms_scanner-0.0.39.3
- old
+ new
@@ -1,5 +1,4 @@
-
# @param [ String ] file The file path
def redirect_output_to_file(file)
$stdout.reopen(file, 'w')
$stdout.sync = true
$stderr.reopen($stdout) # Not sure if this is needed