libraries/deploy-context/deploy/deployer.rb in deploy-context-2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.3.g0fb07cc vs libraries/deploy-context/deploy/deployer.rb in deploy-context-2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.8.ga24e5ef
- old
+ new
@@ -1,17 +1,17 @@
module Context
module DeployHelpers
module DeployerHelper
- def get_context_folder(context, folder)
- File.join(context.context_folder, folder)
+ def get_context_file(context, file)
+ File.join(context.context_folder, file)
end
def build_folder(context)
- context.get_context_folder(context, 'build')
+ context.get_context_file(context, 'build')
end
def contexts_container(context)
- context.get_context_folder(context, 'contexts')
+ context.get_context_file(context, 'contexts')
end
def execute_action(context, action)
state_action = if action.nil?
context.cycle