Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
Use require_relative everywhere in plugin entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
Virgil Dupras committed Jul 24, 2018
1 parent 437b5e7 commit 61c921a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/vagrant-lxc/plugin.rb
Expand Up @@ -10,7 +10,7 @@ class Plugin < Vagrant.plugin("2")
EOF

provider(:lxc, parallel: true, priority: 7) do
require File.expand_path("../provider", __FILE__)
require_relative 'provider'
init!
Provider
end
Expand All @@ -22,13 +22,13 @@ class Plugin < Vagrant.plugin("2")
end

config(:lxc, :provider) do
require File.expand_path("../config", __FILE__)
require_relative 'config'
init!
Config
end

synced_folder(:lxc) do
require File.expand_path("../synced_folder", __FILE__)
require_relative 'synced_folder'
SyncedFolder
end

Expand Down

0 comments on commit 61c921a

Please sign in to comment.