Skip to content

Commit

Permalink
Merge pull request #390 from EugenMayer/fix-typo
Browse files Browse the repository at this point in the history
Fix a typo in operator passed to Hash#key?
  • Loading branch information
EugenMayer committed May 14, 2017
2 parents 0e473b6 + 741da43 commit 0271633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docker-sync/sync_strategy/native_osx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def start_container
ignore_strings = expand_ignore_strings
env['UNISON_EXCLUDES'] = ignore_strings.join(' ')

if @options.key?['sync_args']
if @options.key?('sync_args')
sync_args = @options['sync_args']
sync_args = @options['sync_args'].join(' ') if @options['sync_args'].kind_of?(Array)
env['UNISON_ARGS'] = sync_args
Expand Down

0 comments on commit 0271633

Please sign in to comment.