Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kawamataryo committed Mar 17, 2020
1 parent 0d44cf0 commit 32b0b86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/gatsby/src/utils/tracer/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { slash } from "gatsby-core-utils"
import path from "path"
import opentracing, { Tracer } from "opentracing"
import opentracing from "opentracing"

let tracerProvider

Expand All @@ -13,8 +13,8 @@ let tracerProvider
* `stop` - Run any tracer cleanup required before the node.js process
* exits
*/
export const initTracer = (tracerFile: string): Tracer => {
let tracer: Tracer
export const initTracer = (tracerFile: string): any => {
let tracer: any
if (tracerFile) {
const resolvedPath = slash(path.resolve(tracerFile))
tracerProvider = require(resolvedPath)
Expand Down

0 comments on commit 32b0b86

Please sign in to comment.