From 2c6e983a9c75e90eed2a42d3f05b8039ac2952c7 Mon Sep 17 00:00:00 2001 From: Naseem Date: Mon, 7 Sep 2020 20:45:54 -0400 Subject: [PATCH] fix: cr -- add return type Signed-off-by: Naseem --- plugins/node/opentelemetry-plugin-mysql/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/node/opentelemetry-plugin-mysql/src/utils.ts b/plugins/node/opentelemetry-plugin-mysql/src/utils.ts index 7686aca873..d289b32c47 100644 --- a/plugins/node/opentelemetry-plugin-mysql/src/utils.ts +++ b/plugins/node/opentelemetry-plugin-mysql/src/utils.ts @@ -83,7 +83,7 @@ export function getDbStatement( timeZone?: string ) => string, values?: any[] -) { +): string { if (typeof query === 'string') { return values ? format(query, values) : query; } else {