@@ -138,9 +138,9 @@ def self.create_file(file_name, desired_access, share_mode, security_attributes,
138138 return result unless result == INVALID_HANDLE_VALUE
139139
140140 raise Puppet ::Util ::Windows ::Error . new (
141- "CreateFile(#{ file_name } , #{ desired_access . to_s ( 8 ) } , #{ share_mode . to_s ( 8 ) } , " +
142- "#{ security_attributes } , #{ creation_disposition . to_s ( 8 ) } , " +
143- "#{ flags_and_attributes . to_s ( 8 ) } , #{ template_file_handle } )"
141+ "CreateFile(#{ file_name } , #{ desired_access . to_s ( 8 ) } , #{ share_mode . to_s ( 8 ) } , " \
142+ "#{ security_attributes } , #{ creation_disposition . to_s ( 8 ) } , " \
143+ "#{ flags_and_attributes . to_s ( 8 ) } , #{ template_file_handle } )"
144144 )
145145 end
146146
@@ -158,8 +158,8 @@ def self.get_reparse_point_data(handle, &block)
158158 when IO_REPARSE_TAG_NFS
159159 raise Puppet ::Util ::Windows ::Error . new ( "Retrieving NFS reparse point data is unsupported" )
160160 else
161- raise Puppet ::Util ::Windows ::Error . new ( "DeviceIoControl(#{ handle } , " +
162- "FSCTL_GET_REPARSE_POINT) returned unknown tag 0x#{ reparse_tag . to_s ( 16 ) . upcase } " )
161+ raise Puppet ::Util ::Windows ::Error . new ( "DeviceIoControl(#{ handle } , " \
162+ "FSCTL_GET_REPARSE_POINT) returned unknown tag 0x#{ reparse_tag . to_s ( 16 ) . upcase } " )
163163 end
164164
165165 yield buffer_type . new ( reparse_data_buffer_ptr )
@@ -200,8 +200,8 @@ def self.device_io_control(handle, io_control_code, in_buffer = nil, out_buffer
200200
201201 if result == FFI ::WIN32_FALSE
202202 raise Puppet ::Util ::Windows ::Error . new (
203- "DeviceIoControl(#{ handle } , #{ io_control_code } , " +
204- "#{ in_buffer } , #{ in_buffer ? in_buffer . size : '' } , " +
203+ "DeviceIoControl(#{ handle } , #{ io_control_code } , " \
204+ "#{ in_buffer } , #{ in_buffer ? in_buffer . size : '' } , " \
205205 "#{ out_buffer } , #{ out_buffer ? out_buffer . size : '' } "
206206 )
207207 end
0 commit comments