Skip to content

Commit

Permalink
Run remote logger with the same level as local logger (#20)
Browse files Browse the repository at this point in the history
* Run remote logger with the same level as local logger

* lint
  • Loading branch information
ghiculescu authored Jan 30, 2024
1 parent d966d3a commit 73a6aab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/entangler/executor/background/master.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ module Master
def start_remote_slave
logger.info('Starting - Entangler on remote')
ignore_opts = @opts[:ignore].map { |regexp| "-i '#{regexp.inspect}'" }.join(' ')
entangler_cmd = "entangler slave #{@opts[:remote_base_dir]} #{ignore_opts}"
entangler_cmd = +"entangler slave #{@opts[:remote_base_dir]} #{ignore_opts}"
entangler_cmd << ' --verbose' if @opts[:verbose]
ssh_cmd = generate_ssh_command(entangler_cmd, source_rvm: true)
full_cmd = @opts[:remote_mode] ? ssh_cmd : entangler_cmd

Expand Down
2 changes: 1 addition & 1 deletion lib/entangler/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Entangler
VERSION = '1.5.1'
VERSION = '1.6.0'
end

0 comments on commit 73a6aab

Please sign in to comment.