File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44const { 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 ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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`
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments