Skip to content

Commit

Permalink
Merge pull request #50 from stoned/comments-fix
Browse files Browse the repository at this point in the history
fix typos and pastos in comments
  • Loading branch information
spuder authored Oct 27, 2017
2 parents f0957ee + c1ec1c6 commit 4997b7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contents/winrmcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
require 'winrm-fs'
auth = ENV['RD_CONFIG_AUTHTYPE']
nossl = ENV['RD_CONFIG_NOSSL'] == 'true' ? true : false
if ENV['RD_CONFIG_USER'] # allow empy (default) password (override used)
if ENV['RD_CONFIG_USER'] # allow empty (default) user (override used)
user = ENV['RD_CONFIG_USER'].dup # for some reason this string is frozen, so we duplicate it
else
user =''
end
if ENV['RD_CONFIG_PASS'] # allow empy (default) password (override used)
if ENV['RD_CONFIG_PASS'] # allow empty (default) password (override used)
pass = ENV['RD_CONFIG_PASS'].dup # for some reason this string is frozen, so we duplicate it
else
pass = ''
Expand Down Expand Up @@ -133,4 +133,4 @@
exit 1
end
end
#---
#---
6 changes: 3 additions & 3 deletions contents/winrmexe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
require 'winrm'
auth = ENV['RD_CONFIG_AUTHTYPE']
nossl = ENV['RD_CONFIG_NOSSL'] == 'true' ? true : false
if ENV['RD_CONFIG_USER'] # allow empy (default) password (override used)
if ENV['RD_CONFIG_USER'] # allow empty (default) user (override used)
user = ENV['RD_CONFIG_USER'].dup # for some reason this string is frozen, so we duplicate it
else
user =''
end
if ENV['RD_CONFIG_PASS'] # allow empy (default) password (override used)
if ENV['RD_CONFIG_PASS'] # allow empty (default) password (override used)
pass = ENV['RD_CONFIG_PASS'].dup # for some reason this string is frozen, so we duplicate it
else
pass = ''
Expand Down Expand Up @@ -182,4 +182,4 @@ def stderr_text(stderr)
else # WQL
STDOUT.print result
end
#---
#---

0 comments on commit 4997b7f

Please sign in to comment.