File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
packages/cli/src/cli/utils Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " lingo.dev " : patch
3+ ---
4+
5+ info message
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export function getSettings(explicitApiKey: string | undefined): CliSettings {
1414
1515 _legacyEnvVarWarning ( ) ;
1616
17- _envVarsWarning ( ) ;
17+ _envVarsInfo ( ) ;
1818
1919 return {
2020 auth : {
@@ -105,20 +105,20 @@ Please use LINGODOTDEV_API_KEY instead.
105105 }
106106}
107107
108- function _envVarsWarning ( ) {
108+ function _envVarsInfo ( ) {
109109 const env = _loadEnv ( ) ;
110110 const systemFile = _loadSystemFile ( ) ;
111111
112112 if ( env . LINGODOTDEV_API_KEY && systemFile . auth ?. apiKey ) {
113- console . warn (
114- "\x1b[33m %s\x1b[0m" ,
115- `⚠️ WARNING: Using LINGODOTDEV_API_KEY env var instead of credentials from login flow (saved in .lingodotdevrc)` ,
113+ console . info (
114+ "\x1b[36m %s\x1b[0m" ,
115+ `ℹ️ Using LINGODOTDEV_API_KEY env var instead of credentials from login flow (saved in .lingodotdevrc)` ,
116116 ) ;
117117 }
118118 if ( env . LINGODOTDEV_API_URL ) {
119- console . warn ( "\x1b[33m %s\x1b[0m" , `⚠️ WARNING: Using LINGODOTDEV_API_URL: ${ env . LINGODOTDEV_API_URL } ` ) ;
119+ console . info ( "\x1b[36m %s\x1b[0m" , `ℹ️ Using LINGODOTDEV_API_URL: ${ env . LINGODOTDEV_API_URL } ` ) ;
120120 }
121121 if ( env . LINGODOTDEV_WEB_URL ) {
122- console . warn ( "\x1b[33m %s\x1b[0m" , `⚠️ WARNING: Using LINGODOTDEV_WEB_URL: ${ env . LINGODOTDEV_WEB_URL } ` ) ;
122+ console . info ( "\x1b[36m %s\x1b[0m" , `ℹ️ Using LINGODOTDEV_WEB_URL: ${ env . LINGODOTDEV_WEB_URL } ` ) ;
123123 }
124124}
You can’t perform that action at this time.
0 commit comments