Skip to content

Commit

Permalink
Update other event params
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Apr 19, 2021
1 parent cb61ed8 commit 7436d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/export/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default async function exportApp(
if (telemetry) {
telemetry.record(
eventCliSession(PHASE_EXPORT, distDir, {
webpack5: null,
webpackVersion: null,
cliCommand: 'export',
isSrcDir: null,
hasNowJson: !!(await findUp('now.json', { cwd: dir })),
Expand Down
2 changes: 1 addition & 1 deletion packages/next/server/next-dev-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export default class DevServer extends Server {
const telemetry = new Telemetry({ distDir: this.distDir })
telemetry.record(
eventCliSession(PHASE_DEVELOPMENT_SERVER, this.distDir, {
webpack5: null,
webpackVersion: null,
cliCommand: 'dev',
isSrcDir: relative(this.dir, this.pagesDir!).startsWith('src'),
hasNowJson: !!(await findUp('now.json', { cwd: this.dir })),
Expand Down

0 comments on commit 7436d3e

Please sign in to comment.