Skip to content

Commit

Permalink
feat: add id remover
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Nov 9, 2024
1 parent d517f0f commit 416e56e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/cli/src/command/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export const filterResourceType = (

export const recursiveRemoveMetadataField = (c: ADCSDK.Configuration) => {
const removeMetadata = (obj: object) => {
if ('id' in obj) delete obj.id;
if ('metadata' in obj) delete obj.metadata;
};
Object.entries(c).forEach(([key, value]) => {
Expand Down

0 comments on commit 416e56e

Please sign in to comment.