Skip to content

Commit c7e0d0a

Browse files
yaroslav-codefreshpasha-codefresh
authored andcommitted
Fix no cf cache param (#362)
* fix param * bump version
1 parent bf8a52b commit c7e0d0a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/interface/cli/commands/pipeline/run.cf.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ function _buildBody(data) {
1919
body.options.noCache = data.noCache;
2020
}
2121

22+
if (data.noCfCache) {
23+
body.options.noCfCache = data.noCfCache;
24+
}
25+
2226
if (data.enableNotifications) {
2327
body.options.enableNotifications = data.enableNotifications;
2428
}
@@ -58,6 +62,7 @@ function _buildBody(data) {
5862
class RunExternalCommand extends RunBaseCommand {
5963
async runImpl(request) {
6064
const { pipelineName, options } = request;
65+
console.log(_buildBody(options));
6166
this.workflowId = await sdk.pipelines.run({ name: pipelineName }, _buildBody(options));
6267
if (this.executionRequests.length === 1) {
6368
if (this.argv.detach) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.33.1",
3+
"version": "0.33.2",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)