Skip to content

Commit 2d4c6ec

Browse files
author
jordanbreen28
committed
(CAT-1253) - Fixes undefined variable in vagrant provisioner
1 parent 3bc55e5 commit 2d4c6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/vagrant.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def generate_vagrantfile(file_path, platform, enable_synced_folder, provider, cp
7070
end
7171

7272
def get_vagrant_dir(platform, vagrant_dirs, int = 0)
73-
platform_dir = "#{platform}-#{i}".gsub(%r{[/\\]}, '-') # Strip slashes
73+
platform_dir = "#{platform}-#{int}".gsub(%r{[/\\]}, '-') # Strip slashes
7474
platform_dir = get_vagrant_dir(platform, vagrant_dirs, int + 1) if vagrant_dirs.include?(platform_dir)
7575
platform_dir
7676
end

0 commit comments

Comments
 (0)