Merge pull request #12826 from chrisroberts/fix-fake-ftp-patching

Only patch fake_ftp when running tests
This commit is contained in:
Chris Roberts 2022-08-02 14:34:47 -07:00 committed by GitHub
commit feb763caaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,6 @@ end
# Add our patches to net-ssh
require "vagrant/patches/net-ssh"
# Add our patches to fake_ftp
require "vagrant/patches/fake_ftp"
require "optparse"
module Vagrant

View File

@ -10,6 +10,9 @@ require "rspec/its"
require "vagrant"
require "vagrant/util/platform"
# Include patches for fake ftp
require "vagrant/patches/fake_ftp"
# Add the test directory to the load path
$:.unshift File.expand_path("../../", __FILE__)