Skip to content

Commit

Permalink
Cr 5691 fix1 (#694)
Browse files Browse the repository at this point in the history
* fixed error handling in pipelines ABAC
  • Loading branch information
daniel-codefresh authored Jul 21, 2021
1 parent 398fac3 commit 2cf01fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/interface/cli/commands/pipeline/run.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class RunBaseCommand {
try {
await sdk.pipelines.get({ name: pipelineName });
} catch (err) {
if (err.status === 404) {
if (err.statusCode === 404) {
throw new CFError({
message: `Passed pipeline id: ${pipelineName} does not exist`,
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.75.30",
"version": "0.75.31",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down

0 comments on commit 2cf01fc

Please sign in to comment.