Skip to content

Commit 6fba6bb

Browse files
authored
chore(telemetry): remove info task telemetry call (#3487)
this commit removes a telemetry call from stencil for the info task. this call never actually worked, and is something that we don't feel we want/need to collect. it also has an additional positive side effect for making the stencil configuration entity stricter - this call was placed before loading/validating a configuration (because doing so is not required to run the info task, making it faster). as `ValidatedConfig` grew in size, additional fields were added to make a bespoke validated config. removing this call removes the need to maintain the config used, making the process of making `ValidatedConfig` stricter slightly easier
1 parent 22d9858 commit 6fba6bb

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/cli/run.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,7 @@ export const run = async (init: d.CliInitOptions) => {
7575
loadedCompilerLog(sys, logger, flags, coreCompiler);
7676

7777
if (task === 'info') {
78-
await telemetryAction(
79-
sys,
80-
{ flags: createConfigFlags({ task: 'info' }), logger, outputTargets: [] },
81-
coreCompiler,
82-
async () => {
83-
await taskInfo(coreCompiler, sys, logger);
84-
}
85-
);
78+
taskInfo(coreCompiler, sys, logger);
8679
return;
8780
}
8881

0 commit comments

Comments
 (0)