Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## [Unreleased]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.6.0...master

### Changed
* Improve eval() in command executor [PR 46](https://github.com/shakacode/cypress-on-rails/pull/46) by [Systho](https://github.com/Systho)

### Fixed
* Add middleware after load_config_initializers [PR 62](https://github.com/shakacode/cypress-on-rails/pull/62) by [duytd](https://github.com/duytd)

Expand Down
2 changes: 1 addition & 1 deletion lib/cypress_on_rails/command_executor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class CommandExecutor
def self.load(file,command_options = nil)
load_cypress_helper
file_data = File.read(file)
eval file_data
eval file_data, binding, file
rescue => e
logger.error("fail to execute #{file}: #{e.message}")
logger.error(e.backtrace.join("\n"))
Expand Down