File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " lingo.dev " : patch
3+ ---
4+
5+ improve observability for i18n
Original file line number Diff line number Diff line change @@ -93,10 +93,6 @@ export default new Command()
9393 . action ( async function ( options ) {
9494 updateGitignore ( ) ;
9595
96- await trackEvent ( null , "cmd.i18n.start" , {
97- rawOptions : options ,
98- } ) ;
99-
10096 const ora = Ora ( ) ;
10197 let flags : ReturnType < typeof parseFlags > ;
10298
@@ -153,6 +149,11 @@ export default new Command()
153149 ora . succeed ( `Authenticated as ${ auth . email } ` ) ;
154150 }
155151
152+ await trackEvent ( authId , "cmd.i18n.start" , {
153+ i18nConfig,
154+ flags,
155+ } ) ;
156+
156157 let buckets = getBuckets ( i18nConfig ! ) ;
157158 if ( flags . bucket ?. length ) {
158159 buckets = buckets . filter ( ( bucket : any ) =>
You can’t perform that action at this time.
0 commit comments