Skip to content

Commit e3e4c1c

Browse files
tylerturdenpantsNullVoxPopuli
authored andcommitted
update telemetry helpers tp (#38)
1 parent 4f08318 commit e3e4c1c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env node
22
'use strict';
33

4-
const { gatherTelemetryForUrl } = require('ember-codemods-telemetry-helpers');
4+
const { gatherTelemetryForUrl, analyzeEmberObject } = require('ember-codemods-telemetry-helpers');
55
const appLocation = process.argv[2];
66
const args = process.argv.slice(3);
77

88
(async () => {
9-
await gatherTelemetryForUrl(appLocation);
9+
await gatherTelemetryForUrl(appLocation, analyzeEmberObject);
1010

1111
require('codemod-cli').runTransform(__dirname, 'no-implicit-this', args, 'hbs');
1212
})();

bin/telemetry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22
'use strict';
33

4-
const { gatherTelemetryForUrl } = require('ember-codemods-telemetry-helpers');
4+
const { gatherTelemetryForUrl, analyzeEmberObject } = require('ember-codemods-telemetry-helpers');
55

6-
gatherTelemetryForUrl(process.argv[2]);
6+
gatherTelemetryForUrl(process.argv[2], analyzeEmberObject);

0 commit comments

Comments
 (0)