Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 790aaa4

Browse files
committed
telemetry for dev:exec
1 parent 64251f3 commit 790aaa4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/commands/dev/exec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const execa = require("execa");
22
const Command = require("@netlify/cli-utils");
3+
const { track } = require("@netlify/cli-utils/src/utils/telemetry");
34

45
class ExecCommand extends Command {
56
async run() {
@@ -13,6 +14,10 @@ class ExecCommand extends Command {
1314
env: process.env,
1415
stdio: "inherit"
1516
});
17+
// Todo hoist this telemetry `command` to CLI hook
18+
track("command", {
19+
command: "dev:exec"
20+
});
1621
}
1722
}
1823

0 commit comments

Comments
 (0)