Skip to content

Commit 935c698

Browse files
return entitiy prefix for get -o=name (#448)
1 parent 6073726 commit 935c698

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/logic/entities/Entity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Entity {
2525
}
2626

2727
toName() {
28-
return String(this.name || this.info.name);
28+
return String(`${this.entityType}/${this.name || this.info.name}`);
2929
}
3030

3131
toId() {

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

0 commit comments

Comments
 (0)