Skip to content

Commit

Permalink
Fix cli.js bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gitKrystan committed Feb 23, 2024
1 parent 82fe8ba commit 3a00e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
const { gatherTelemetryForUrl, analyzeEmberObject } = require('ember-codemods-telemetry-helpers');

(async () => {
let args = process.argv.slice(2);
let args = process.argv.slice(1);
if (process.env['NO_TELEMETRY'] !== 'true') {
await gatherTelemetryForUrl(process.argv[2], analyzeEmberObject);
args = process.argv.slice(1);
args = process.argv.slice(2);
}

require('codemod-cli').runTransform(__dirname, 'ember-object', args);
Expand Down

0 comments on commit 3a00e78

Please sign in to comment.