Skip to content

Commit df6e013

Browse files
surmapaulirish
authored andcommitted
Wait for trace data to arrive before continuing (#541)
1 parent 8c39f91 commit df6e013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lighthouse-core/driver/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class Driver {
113113
if (config.trace) {
114114
pass = pass.then(_ => {
115115
log.log('status', 'Gathering: trace');
116-
driver.endTrace().then(traceContents => {
116+
return driver.endTrace().then(traceContents => {
117117
loadData.traceContents = traceContents;
118118
log.log('statusEnd', 'Gathering: trace');
119119
});

0 commit comments

Comments
 (0)