Skip to content

Commit e694355

Browse files
committed
Revert dev hacks
1 parent e1a6b47 commit e694355

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed

bin/cli.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
const { gatherTelemetryForUrl, analyzeEmberObject } = require('ember-codemods-telemetry-helpers');
55

66
(async () => {
7-
// FIXME: Remove
8-
if (!process.env['DOGFOOD']) {
9-
await gatherTelemetryForUrl(process.argv[2], analyzeEmberObject);
10-
}
7+
await gatherTelemetryForUrl(process.argv[2], analyzeEmberObject);
118

129
require('codemod-cli').runTransform(
1310
__dirname,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"postpublish": "yarn clean",
3636
"build": "tsc",
3737
"clean": "tsc --build --clean",
38-
"fixme": "yarn build; codemod-cli test && node ./test/run-test.js && git checkout test/fixtures; yarn clean",
3938
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
4039
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
4140
"lint:js": "eslint . --cache",

transforms/helpers/transform.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ export default function maybeTransformEmberObjects(
4141
return;
4242
}
4343

44-
const runtimeData = process.env['DOGFOOD']
45-
? {}
46-
: getTelemetryFor(path.resolve(filePath));
44+
const runtimeData = getTelemetryFor(path.resolve(filePath));
4745
if (!runtimeData || !isRuntimeData(runtimeData)) {
4846
logger.warn(
4947
`[${filePath}]: SKIPPED: Could not find runtime data NO_RUNTIME_DATA`

transforms/helpers/util/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export function assert(
1818
message = 'Assertion Error'
1919
): asserts condition {
2020
if (!condition) {
21-
debugger;
2221
throw new Error(message);
2322
}
2423
}

0 commit comments

Comments
 (0)