Skip to content

Commit 72f43e9

Browse files
authored
bug: Reverted incorrect custom color logic for Sanbox-, Scratch- and Dev orgs to what it was in 6.28.0 (#358)
1 parent 86fb4b5 commit 72f43e9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Custom colors: Fixed a bug where the incorrect color logic for set for Sandbox- and Scratch orgs. Also moved back the dev color to where it was in 6.28.0.
6+
57
## [6.29.0] 2025-02-24
68

79
- Custom Color Improvements

src/hardis-colors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export class HardisColors {
268268
);
269269
return forcedColor || this.describeOrgColors()["major"]; // orange !
270270
}
271-
return forcedColor || this.describeOrgColors()["dev"]; // blue
271+
return forcedColor || null;
272272
}
273273
// Production or dev org
274274
const orgRes = await execSfdxJson(
@@ -290,6 +290,7 @@ export class HardisColors {
290290
);
291291
return forcedColor || this.describeOrgColors()["production"]; // red !
292292
}
293+
return forcedColor || this.describeOrgColors()["dev"]; // blue
293294
}
294295
// Default color
295296
return forcedColor || null;

0 commit comments

Comments
 (0)