Skip to content

Commit 1882da3

Browse files
committed
Issue #102: Fix implicit conversion of nil into string error.
1 parent e0aff2f commit 1882da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vagrant-hostsupdater/HostsUpdater.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def host_entry(ip, hostnames, name, uuid = self.uuid)
123123
end
124124

125125
def createHostEntry(ip, hostname, name, uuid = self.uuid)
126-
%Q(#{ip} #{hostname} #{signature(name, uuid)})
126+
%Q(#{ip} #{hostname} #{signature(name, uuid.to_s)})
127127
end
128128

129129
# Create a regular expression that will match *any* entry describing the

0 commit comments

Comments
 (0)