Skip to content

Commit 1f8bcc2

Browse files
committed
fix newer ruby version
simondean#1
1 parent e0d0c4a commit 1f8bcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/net_share/lib/puppet/provider/net_share/net_share.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def self.query(name)
7373

7474
properties[:ensure] = :present
7575

76-
output.each do |line|
76+
output.each_line do |line|
7777
break if line.rstrip.length == 0
7878

7979
last_name = name

0 commit comments

Comments
 (0)