Add Node.js 6 runtime
diff --git a/tools/cli/wskaction.py b/tools/cli/wskaction.py
index 2ba95f3..b8ad25f 100644
--- a/tools/cli/wskaction.py
+++ b/tools/cli/wskaction.py
@@ -158,6 +158,7 @@
# creates one of:
# { kind: "nodejs", code: "js code", initializer: "base64 encoded string" } where initializer is optional
+ # { kind: "nodejs6", code: "js6 code", initializer: "base64 encoded string" } where initializer is optional
# { kind: "python", code: "python code" }
# { kind: "swift", code: "swift code" }
# { kind: "swift3", code: "swift3 code" }
@@ -189,6 +190,9 @@
exe['kind'] = 'java'
exe['jar'] = base64.b64encode(contents)
exe['main'] = self.findMainClass(args.artifact)
+ elif args.kind in ['nodejs:6','nodejs:6.0','nodejs:6.0.0']:
+ exe['kind'] = 'nodejs:6'
+ exe['code'] = contents
else:
exe['kind'] = 'nodejs'
exe['code'] = contents