Update exportTask.lua

Last fix, was making a call to Util when it wasn't defined, and left the export function completely dead. Defined correctly, now exporting as expected, whoops.
This commit is contained in:
cynagen
2020-05-18 01:14:28 -07:00
committed by GitHub
parent 5b5474a1dc
commit 995ca9d486

View File

@@ -1,6 +1,7 @@
local itemDB = require('core.itemDB')
local Milo = require('milo')
local Tasks = require('milo.taskRunner')
local Tasks = require('milo.taskRunner')
local Util = require('opus.util')
local ExportTask = {
name = 'exporter',
@@ -19,7 +20,6 @@ function ExportTask:cycle(context)
for node in context.storage:filterActive('machine', filter) do
tasks:add(function()
for _, entry in pairs(node.exports) do
if not entry.filter then
-- exports must have a filter
-- TODO: validate in exportView