v14.0.9: Client JS Folder Creation

7 views
Skip to first unread message

Evan Tahler

unread,
Jul 13, 2016, 3:38:07 PM7/13/16
to actionHero.js
https://github.com/evantahler/actionhero/releases/tag/v14.0.9

Fix for lack of javascript folder under public

  • ActionHero updates actionheroClient.js/.min.js on boot, so many people opt not to check the whole folder into version control. This resulted in the javascript folder not existing on other systems, which caused the tests to fail. This is a simple fix to create the javascript folder if it doesn't exist.
  • by @krishnaglick via #892

Misc

  • The api.id will now be appended to log files via default. In older projects, you can update this behavior by changing the format of the timestamp option in your logger, I.E.:
// in config.js
return new (winston.transports.File)({
  filename: api.config.general.paths.log[0] + '/' + api.pids.title + '.log',
  level: 'info',
  timestamp: function(){ return api.id + ' @ ' + new Date().toISOString(); },
});

Packages

  • async updated to version 2.0
Reply all
Reply to author
Forward
0 new messages