rabbah commented on a change in pull request #143: Export activation arguments
to environment during initialization.
URL:
https://github.com/apache/openwhisk-runtime-nodejs/pull/143#discussion_r317038705
##########
File path: core/nodejsActionBase/src/service.js
##########
@@ -160,6 +160,17 @@ function NodeActionService(config) {
};
function doInit(message) {
+ if (message.env && typeof message.env == 'object') {
+ Object.keys(message.env).forEach(k => {
Review comment:
if/when we drop node 6, can switch it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services