Skip to content
代码片段 群组 项目
提交 65d50171 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Reorganize plugins dir structure

上级 542c0c42
No related branches found
No related tags found
加载中
module Gitlab
module Plugin
def self.files
Dir.glob(Rails.root.join('plugins/enabled/*'))
Dir.glob(Rails.root.join('plugins/*')).select do |entry|
File.file?(entry)
end
end
def self.execute_all_async(data)
files.each do |file|
puts file
PluginWorker.perform_async(file, data)
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册