Remove unneeded .to_s
This commit is contained in:
parent
6428da893b
commit
0e57cfc2b0
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Vagrant
|
|||
end
|
||||
|
||||
def call(env)
|
||||
container_name = "#{env[:root_path].basename.to_s}_#{env[:machine].name}"
|
||||
container_name = "#{env[:root_path].basename}_#{env[:machine].name}"
|
||||
container_name.gsub!(/[^-a-z0-9_]/i, "")
|
||||
container_name << "-#{Time.now.to_i}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue