We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0929ac commit e51fff1Copy full SHA for e51fff1
templates/cli/base/params.twig
@@ -34,6 +34,12 @@
34
file: 'code.tar.gz'
35
}, files);
36
37
+ let archivePath = fs.realpathSync('code.tar.gz')
38
+ if (typeof archivePath !== 'undefined') {
39
+ payload['{{ parameter.name }}'] = archivePath;
40
+ {{ parameter.name | caseCamel | escapeKeyword }} = archivePath;
41
+ }
42
+
43
{% endif %}
44
const filePath = fs.realpathSync({{ parameter.name | caseCamel | escapeKeyword }});
45
const nodeStream = fs.createReadStream(filePath);
0 commit comments