Skip to content

Commit

Permalink
Merge pull request #156 from MD931/fix/keep-description-profile
Browse files Browse the repository at this point in the history
Fix: Keep description tag in profiles during "texei profile clean" command
  • Loading branch information
FabienTaillon authored Mar 26, 2024
2 parents ddcd08b + 6e128e9 commit 9184064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/texei/profile/clean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class Clean extends SfCommand<ProfileCleanResult> {
const cleanResult: string[] = [];

// TODO: Keep default recordTypeVisibilities & applicationVisibilities like in skinnyprofile:retrieve
const defaultKeep = ['layoutAssignments', 'loginHours', 'loginIpRanges', 'custom', 'userLicense'];
const defaultKeep = ['layoutAssignments', 'loginHours', 'loginIpRanges', 'custom', 'userLicense', 'description'];
const nodesToKeep = flags.keep ? flags.keep : defaultKeep;
let profilesToClean: string[] = [];

Expand Down

0 comments on commit 9184064

Please sign in to comment.