art
gamedev
design
list
awesome
games
game-engine
game-development
game-jam
curated
awesome-list
game-programming
game-design
frameworks
board-games
-
Updated
Jul 30, 2021
Task export inconsistent with actions
In JS mode, exporting tasks as
module.exports = class SomeTask
causes AH to throw an error when trying to execute it ' task not found' but exporting asexports.someTask = SomeTask
works. Actions work either way.From @evantahler:
actions have this line https://github.com/actionhero/actionhero/blob/v24.0.4/src/initializers/actions.ts#L65-L67
where