lib/frontman/commands/build.rb in frontman-ssg-0.0.3 vs lib/frontman/commands/build.rb in frontman-ssg-0.0.4

- old
+ new

@@ -50,10 +50,10 @@ build_directory = Dir.pwd + '/build/' builder = Frontman::Builder::Builder.new builder.build_directory = build_directory builder.current_build_files = current_build_files - builder.on('created, updated, deleted, unchanged', lambda { |build_file| + builder.on('created, updated, deleted, unchanged', ->(build_file) { mapping.add_from_build_file(build_file) }) assets = builder.build_assets(assets_to_build) redirects = builder.build_redirects