lib/vagrant-guest-msys2/cap/rsync.rb in vagrant-guest-msys2-0.0.3 vs lib/vagrant-guest-msys2/cap/rsync.rb in vagrant-guest-msys2-0.0.4
- old
+ new
@@ -1,19 +1,19 @@
module VagrantPlugins
module GuestMSYS2
module Cap
class RSync
def self.rsync_installed(machine)
- machine.communicate.test("which rsync")
+ machine.communicate.test('which rsync')
end
def self.rsync_install(machine)
machine.communicate.execute(
'pacman -S --noconfirm rsync')
end
def self.rsync_command(machine)
- "rsync"
+ 'rsync'
end
def self.rsync_pre(machine, opts)
machine.communicate.tap do |comm|
comm.execute("mkdir -p '#{opts[:guestpath]}'")