Skip to content

Commit 2cf01fc

Browse files
Cr 5691 fix1 (#694)
* fixed error handling in pipelines ABAC
1 parent 398fac3 commit 2cf01fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class RunBaseCommand {
100100
try {
101101
await sdk.pipelines.get({ name: pipelineName });
102102
} catch (err) {
103-
if (err.status === 404) {
103+
if (err.statusCode === 404) {
104104
throw new CFError({
105105
message: `Passed pipeline id: ${pipelineName} does not exist`,
106106
});

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.75.30",
3+
"version": "0.75.31",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)