diff --git a/index.js b/index.js index 4b139de..b6e1a87 100644 --- a/index.js +++ b/index.js @@ -147,6 +147,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); for await (let path of pathCollection) { const process = await bpmsDB.bpms_process.findByPk(path, { raw: true }); + pathTraveled.push(+path); console.log(path, process); if ([0, 1].includes(+process.type)) { const processData = await initFunctionData({