File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import store from '../store.js'
66import { TIMEOUT_ORDER } from '../timeout.js'
77import retryStep from './retry.js'
88import { fixErrorStack } from '../utils/typescript.js'
9- import Container from '../container.js'
109function recordStep ( step , args ) {
1110 step . status = 'queued'
1211
@@ -63,8 +62,8 @@ function recordStep(step, args) {
6362 step . status = 'failed'
6463 step . endTime = + Date . now ( )
6564
66- // Fix error stack to point to original .ts files
67- const fileMapping = Container . tsFileMapping ( )
65+ // Fix error stack to point to original .ts files (lazy import to avoid circular dependency)
66+ const fileMapping = global . container ?. tsFileMapping ?. ( )
6867 if ( fileMapping ) {
6968 fixErrorStack ( err , fileMapping )
7069 }
You can’t perform that action at this time.
0 commit comments