rabbah opened a new issue #2918: should we support non-zip node action with 
exports.main?
URL: https://github.com/apache/incubator-openwhisk/issues/2918
 
 
   if you declare a node.js action with a `function foo` and use `exports.main 
= foo`, the action will fail to run `Initialization has failed due to: 
ReferenceError: main is not defined`. Currently we're only supporting 
`exports.main` for zip node.js action. Should we allow it for non-zip actions 
as well?
   
   The alternative is using `--main` for the CLI or correspondingly from the 
API.
   This could be an issue for the nodejs runtimes library - @csantanapr wdyt?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to