dojo / util

Dojo 1 - build utilities. Please submit bugs to https://bugs.dojotoolkit.org/
https://dojotoolkit.org/
Other
60 stars 105 forks source link

Fix uglify use with newer node versions #78

Closed jsonn closed 5 years ago

jsonn commented 5 years ago

Recent versions of node enforce the callback argument to writeFile or fail with errors like:

error(356) The optimizer threw an exception; the module probably contains syntax errors. module identifier: dojo/dojo; exception: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function TypeError [ERR_INVALID_CALLBACK]: Callback must be a function

Deal with this by explicitly providing a callback.

jsf-clabot commented 5 years ago

CLA assistant check
All committers have signed the CLA.

dylans commented 5 years ago

Backported as: