summaryrefslogtreecommitdiff
path: root/lib/chef/util/powershell
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2014-09-03 14:13:46 -0400
committerJay Mundrawala <jdmundrawala@gmail.com>2014-09-19 12:48:05 -0700
commite3d685d9cce83342f03a624a3fe7121ccc34443a (patch)
treeefac98e5045469c33f219e01a1e89db5278c2321 /lib/chef/util/powershell
parenta97bc51649be2ee784843a21bd8484ce61ac589f (diff)
downloadchef-e3d685d9cce83342f03a624a3fe7121ccc34443a.tar.gz
Switch fileformat to unix, clean up whitespace.
Converts a few files from CRLF->LF. Removes some trailing whitespace as well.
Diffstat (limited to 'lib/chef/util/powershell')
-rw-r--r--lib/chef/util/powershell/cmdlet.rb2
-rw-r--r--lib/chef/util/powershell/cmdlet_result.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/util/powershell/cmdlet.rb b/lib/chef/util/powershell/cmdlet.rb
index f99812dc24..40edbb13c6 100644
--- a/lib/chef/util/powershell/cmdlet.rb
+++ b/lib/chef/util/powershell/cmdlet.rb
@@ -131,6 +131,6 @@ class Chef::Util::Powershell
command_switches.join(' ')
end
- end
+ end
end
diff --git a/lib/chef/util/powershell/cmdlet_result.rb b/lib/chef/util/powershell/cmdlet_result.rb
index 696013e684..af7b3607cd 100644
--- a/lib/chef/util/powershell/cmdlet_result.rb
+++ b/lib/chef/util/powershell/cmdlet_result.rb
@@ -20,13 +20,13 @@ require 'json'
class Chef::Util::Powershell
class CmdletResult
- attr_reader :output_format
+ attr_reader :output_format
def initialize(status, output_format)
@status = status
@output_format = output_format
end
-
+
def stderr
@status.stderr
end