Skip to content

Commit

Permalink
(CAT-1253) - Fixes undefined variable in vagrant provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Jul 27, 2023
1 parent 3bc55e5 commit 2d4c6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def generate_vagrantfile(file_path, platform, enable_synced_folder, provider, cp
end

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

0 comments on commit 2d4c6ec

Please sign in to comment.