Skip to content

Commit

Permalink
feat: differ metric agent for admin generated stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghosh committed Mar 29, 2021
1 parent eeb3102 commit 6dd56d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// TODO: Put this in package.json and integrate with lerna to bump up version

const userAgent = 'aws-amplify-cli/0.1.0';
// Track Amplify Admin generated stacks
const userAgent = !!process.env.CLI_DEV_INTERNAL_DISABLE_AMPLIFY_APP_DELETION ? 'aws-amplify-admin/0.1.0' : 'aws-amplify-cli/0.1.0';

function formUserAgentParam(context, userAgentAction) {
const { amplify } = context;
Expand Down

0 comments on commit 6dd56d8

Please sign in to comment.