lib/buildkite/builder/loaders/processors.rb in buildkite-builder-1.0.0 vs lib/buildkite/builder/loaders/processors.rb in buildkite-builder-1.1.0
- old
+ new
@@ -17,20 +17,20 @@
def load_processors_from_path(path)
return unless path.directory?
path.children.map do |file|
- required_status = require(file)
+ required_status = require(file.to_s)
add(file.basename, { required: required_status })
end
end
def global_processors_path
buildkite_path.join(PROCESSORS_PATH)
end
def pipeline_processors_path
- pipeline_path.join(PROCESSORS_PATH)
+ root.join(PROCESSORS_PATH)
end
end
end
end
end