@@ -59,7 +59,8 @@ export default async function setup(input: CmdRunContext) {
5959 ) ;
6060 }
6161 task . title =
62- ctx . localizer . id === "Lingo.dev" || ctx . localizer . id === "Lingo.dev vNext"
62+ ctx . localizer . id === "Lingo.dev" ||
63+ ctx . localizer . id === "Lingo.dev vNext"
6364 ? `Using ${ chalk . hex ( colors . green ) ( ctx . localizer . id ) } provider`
6465 : ctx . localizer . id === "pseudo"
6566 ? `Using ${ chalk . hex ( colors . blue ) ( "pseudo" ) } mode for testing`
@@ -69,7 +70,9 @@ export default async function setup(input: CmdRunContext) {
6970 {
7071 title : "Checking authentication" ,
7172 enabled : ( ctx ) =>
72- ( ctx . localizer ?. id === "Lingo.dev" || ctx . localizer ?. id === "Lingo.dev vNext" ) && ! ctx . flags . pseudo ,
73+ ( ctx . localizer ?. id === "Lingo.dev" ||
74+ ctx . localizer ?. id === "Lingo.dev vNext" ) &&
75+ ! ctx . flags . pseudo ,
7376 task : async ( ctx , task ) => {
7477 const authStatus = await ctx . localizer ! . checkAuth ( ) ;
7578 if ( ! authStatus . authenticated ) {
@@ -82,7 +85,9 @@ export default async function setup(input: CmdRunContext) {
8285 } ,
8386 {
8487 title : "Validating configuration" ,
85- enabled : ( ctx ) => ctx . localizer ?. id !== "Lingo.dev" && ctx . localizer ?. id !== "Lingo.dev vNext" ,
88+ enabled : ( ctx ) =>
89+ ctx . localizer ?. id !== "Lingo.dev" &&
90+ ctx . localizer ?. id !== "Lingo.dev vNext" ,
8691 task : async ( ctx , task ) => {
8792 const validationStatus = await ctx . localizer ! . validateSettings ! ( ) ;
8893 if ( ! validationStatus . valid ) {
@@ -96,7 +101,9 @@ export default async function setup(input: CmdRunContext) {
96101 {
97102 title : "Initializing localization provider" ,
98103 async task ( ctx , task ) {
99- const isLingoDotDev = ctx . localizer ! . id === "Lingo.dev" ;
104+ const isLingoDotDev =
105+ ctx . localizer ! . id === "Lingo.dev" ||
106+ ctx . localizer ! . id === "Lingo.dev vNext" ;
100107 const isPseudo = ctx . localizer ! . id === "pseudo" ;
101108
102109 const subTasks = isLingoDotDev
0 commit comments