File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
## [ Unreleased]
2
2
[ Compare ] : https://github.com/shakacode/cypress-on-rails/compare/v1.6.0...master
3
3
4
+ ### Changed
5
+ * Improve eval() in command executor [ PR 46] ( https://github.com/shakacode/cypress-on-rails/pull/46 ) by [ Systho] ( https://github.com/Systho )
6
+
4
7
### Fixed
5
8
* Add middleware after load_config_initializers [ PR 62] ( https://github.com/shakacode/cypress-on-rails/pull/62 ) by [ duytd] ( https://github.com/duytd )
6
9
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class CommandExecutor
6
6
def self . load ( file , command_options = nil )
7
7
load_cypress_helper
8
8
file_data = File . read ( file )
9
- eval file_data
9
+ eval file_data , binding , file
10
10
rescue => e
11
11
logger . error ( "fail to execute #{ file } : #{ e . message } " )
12
12
logger . error ( e . backtrace . join ( "\n " ) )
You can’t perform that action at this time.
0 commit comments