Skip to content

Commit

Permalink
feat: differ metric agent for admin generated stacks (#6978)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustavghosh06 authored Apr 9, 2021
1 parent eda0a3a commit 56907eb
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 56907eb

Please sign in to comment.