Skip to content

Commit

Permalink
use trackCli
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Mar 3, 2022
1 parent 79cf9f6 commit d871bfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/gatsby/src/utils/parcel/compile-gatsby-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ export async function compileGatsbyFiles(siteRoot: string): Promise<void> {
compiledTSFilesCount = compiledTSFilesCount + 1
}
}
telemetry.addSiteMeasurement(`PARCEL_COMPILATION_END`, {
compiledTSFilesCount,
telemetry.trackCli(`PARCEL_COMPILATION_END`, {
siteMeasurements: {
compiledTSFilesCount,
},
})
}
} catch (error) {
Expand Down

0 comments on commit d871bfd

Please sign in to comment.