Skip to content

Commit

Permalink
Merge branch 'main' into fix_mysql2_span_name
Browse files Browse the repository at this point in the history
  • Loading branch information
nozik committed Mar 1, 2022
2 parents f663a96 + 8020e22 commit c54657c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function getDbStatement(
export function getSpanName(query: string | Query | QueryOptions): string {
const rawQuery = typeof query === 'object' ? query.sql : query;
// Extract the SQL verb
return rawQuery.split(' ')[0];
return rawQuery?.split(' ')?.[0];
}

export const once = (fn: Function) => {
Expand Down
6 changes: 2 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
"rangeStrategy": "bump"
}
],
"assignees": [
"@dyladan",
"@mayurkale22"
],
"ignoreDeps": ["lerna", "lerna-changelog"],
"assignees": ["@blumamir", "@dyladan", "@legendecas", "@Rauno56", "@vmarchaud"],
"schedule": [
"before 3am on Friday"
],
Expand Down

0 comments on commit c54657c

Please sign in to comment.