File tree Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 4
4
const { gatherTelemetryForUrl, analyzeEmberObject } = require ( 'ember-codemods-telemetry-helpers' ) ;
5
5
6
6
( async ( ) => {
7
- // FIXME: Remove
8
- if ( ! process . env [ 'DOGFOOD' ] ) {
9
- await gatherTelemetryForUrl ( process . argv [ 2 ] , analyzeEmberObject ) ;
10
- }
7
+ await gatherTelemetryForUrl ( process . argv [ 2 ] , analyzeEmberObject ) ;
11
8
12
9
require ( 'codemod-cli' ) . runTransform (
13
10
__dirname ,
Original file line number Diff line number Diff line change 35
35
"postpublish" : " yarn clean" ,
36
36
"build" : " tsc" ,
37
37
"clean" : " tsc --build --clean" ,
38
- "fixme" : " yarn build; codemod-cli test && node ./test/run-test.js && git checkout test/fixtures; yarn clean" ,
39
38
"lint" : " concurrently \" npm:lint:*(!fix)\" --names \" lint:\" " ,
40
39
"lint:fix" : " concurrently \" npm:lint:*:fix\" --names \" fix:\" " ,
41
40
"lint:js" : " eslint . --cache" ,
Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ export default function maybeTransformEmberObjects(
41
41
return ;
42
42
}
43
43
44
- const runtimeData = process . env [ 'DOGFOOD' ]
45
- ? { }
46
- : getTelemetryFor ( path . resolve ( filePath ) ) ;
44
+ const runtimeData = getTelemetryFor ( path . resolve ( filePath ) ) ;
47
45
if ( ! runtimeData || ! isRuntimeData ( runtimeData ) ) {
48
46
logger . warn (
49
47
`[${ 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(
18
18
message = 'Assertion Error'
19
19
) : asserts condition {
20
20
if ( ! condition ) {
21
- debugger ;
22
21
throw new Error ( message ) ;
23
22
}
24
23
}
You can’t perform that action at this time.
0 commit comments