feat: add ci build task #342

Merged
unkinben merged 3 commits from benvin/begin_ci into develop 2025-07-08 20:19:36 +10:00
6 changed files with 10 additions and 10 deletions
Showing only changes of commit 8745c6bcb8 - Show all commits

View File

@ -8,3 +8,6 @@ Style/Documentation:
Layout/LineLength:
Max: 140
Metrics/BlockNesting:
Max: 4

View File

@ -8,7 +8,6 @@ Facter.add('pve_nodelist') do
conf_file = '/etc/pve/corosync.conf'
node_list = {}
current_node = nil
# rubocop:disable Metrics/BlockNesting
if File.exist?(conf_file)
File.foreach(conf_file) do |line|
@ -28,8 +27,6 @@ Facter.add('pve_nodelist') do
end
end
# rubocop:enable Metrics/BlockNesting
node_list.empty? ? nil : node_list
end
end