diff --git a/plugins/pushes/harmony/plugin.rb b/plugins/pushes/harmony/plugin.rb index 51630cfbf..331da4b32 100644 --- a/plugins/pushes/harmony/plugin.rb +++ b/plugins/pushes/harmony/plugin.rb @@ -11,13 +11,13 @@ module VagrantPlugins DESC config(:harmony, :push) do - require File.expand_path("../config", __FILE__) + require_relative "config" init! Config end push(:harmony) do - require File.expand_path("../push", __FILE__) + require_relative "push" init! Push end diff --git a/plugins/pushes/harmony/push.rb b/plugins/pushes/harmony/push.rb index f3906d834..660d3b0fb 100644 --- a/plugins/pushes/harmony/push.rb +++ b/plugins/pushes/harmony/push.rb @@ -5,7 +5,7 @@ require "vagrant/util/which" module VagrantPlugins module HarmonyPush class Push < Vagrant.plugin("2", :push) - UPLOADER_BIN = "harmony-upload" + UPLOADER_BIN = "harmony-upload".freeze def push uploader = self.uploader_path