Skip to content

Commit

Permalink
Update core/gather/driver/execution-context.js
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Raine <[email protected]>
  • Loading branch information
connorjclark and adamraine authored Jul 19, 2023
1 parent 598fdc2 commit bd8a531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/gather/driver/execution-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class ExecutionContext {
const runtimeName = pageFunctions.getRuntimeFunctionName(dep);
if (runtimeName !== dep.name) {
// In addition to exposing the mangled name, also expose the original as an alias.
return `${output}; const ${dep.name} = ${pageFunctions.getRuntimeFunctionName(dep)};`;
return `${output}; const ${dep.name} = ${runtimeName};`;

Check warning on line 290 in core/gather/driver/execution-context.js

View check run for this annotation

Codecov / codecov/patch

core/gather/driver/execution-context.js#L289-L290

Added lines #L289 - L290 were not covered by tests
} else {
return output;
}
Expand Down

0 comments on commit bd8a531

Please sign in to comment.