lib/itamae-mitsurin/mitsurin/local_task.rb in itamae-mitsurin-0.17 vs lib/itamae-mitsurin/mitsurin/local_task.rb in itamae-mitsurin-0.18
- old
+ new
@@ -6,9 +6,10 @@
module ItamaeMitsurin
module Mitsurin
class LocalTask
namespace :local do
Dir.glob("nodes/**/*.json").each do |node_file|
+ all = []
bname = File.basename(node_file, '.json')
begin
node_h = JSON.parse(File.read(node_file), symbolize_names: true)
rescue JSON::ParserError => e