This repository was archived by the owner on Jan 21, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ class PostgresPatchUtility {
159159 promise : Promise < pg_7 . QueryResult > ,
160160 span : Span
161161 ) : Promise < pg_7 . QueryResult > {
162- return ( promise = promise . then (
162+ return promise . then (
163163 res => {
164164 this . maybePopulateLabelsFromOutputs ( span , null , res ) ;
165165 span . endSpan ( ) ;
@@ -170,7 +170,7 @@ class PostgresPatchUtility {
170170 span . endSpan ( ) ;
171171 throw err ;
172172 }
173- ) ) ;
173+ ) ;
174174 }
175175}
176176
@@ -288,7 +288,7 @@ const plugin: Plugin = [
288288 // Unlike in pg 6, the returned value can't be both a Promise and
289289 // a Submittable. So we don't run the risk of double-patching
290290 // here.
291- pgPatch . patchPromise ( pgQuery , span ) ;
291+ pgQuery = pgPatch . patchPromise ( pgQuery , span ) ;
292292 }
293293 }
294294 return pgQuery ;
You can’t perform that action at this time.
0 commit comments