Skip to content

Commit

Permalink
Merge pull request #188 from geerlingguy/102-fix-implicit-conversion
Browse files Browse the repository at this point in the history
Issue #102: Fix implicit conversion of nil into string error.
  • Loading branch information
cgsmith authored Nov 24, 2020
2 parents e0aff2f + 1882da3 commit a8d43ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-hostsupdater/HostsUpdater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def host_entry(ip, hostnames, name, uuid = self.uuid)
end

def createHostEntry(ip, hostname, name, uuid = self.uuid)
%Q(#{ip} #{hostname} #{signature(name, uuid)})
%Q(#{ip} #{hostname} #{signature(name, uuid.to_s)})
end

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

0 comments on commit a8d43ed

Please sign in to comment.