File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
server/imports/actions/execute Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import { Utilities } from '../../utilities'
2- import { Utilities } from "../../utilities"
3- import { toolbelt } from "./toolbelt.js"
2+ import { toolbelt } from './toolbelt.js'
43
54const process = async function ( doc , callback ) {
65 // Goals:
@@ -11,9 +10,9 @@ const process = async function (doc, callback) {
1110 const Toolbelt = new toolbelt ( doc ) ;
1211
1312 try {
14- // const res = Utilities.registry.data[doc.name].apply(Toolbelt, doc.arguments)
15- const jobResult = Promise . await ( Promise . resolve ( res ) ) ;
16- // const jobResult = await res()
13+ // const res = Utilities.registry.data[doc.name].apply(Toolbelt, doc.arguments)
14+ // const jobResult = Promise.await(Promise.resolve(res))
15+ // const jobResult = await res()
1716 const jobResult = await Utilities . registry . data [ doc . name ] . apply ( Toolbelt , doc . arguments )
1817
1918 if ( typeof callback === "function" ) {
You can’t perform that action at this time.
0 commit comments