Skip to content

Commit

Permalink
🚑 Fix typo breaking older versions of Vagrant < 2.1.0 (laravel#935)
Browse files Browse the repository at this point in the history
Resolves laravel#394
  • Loading branch information
svpernova09 authored Sep 4, 2018
1 parent c123d98 commit 302c8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/homestead.rb
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def self.configure(config, settings)
s.privileged = false
end

if settings.has_key?('backup') && settings['backup'] && (Vagrant::VERSION >= '2.1.0' || Vagrant.has_plugin('vagrant-triggers'))
if settings.has_key?('backup') && settings['backup'] && (Vagrant::VERSION >= '2.1.0' || Vagrant.has_plugin?('vagrant-triggers'))
dir_prefix = '/vagrant/'
settings['databases'].each do |database|
Homestead.backup_mysql(database, "#{dir_prefix}/mysql_backup", config)
Expand Down

0 comments on commit 302c8e2

Please sign in to comment.