File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ function onServerStart(server: https.Server | http.Server, socketConnection: net
109109 }
110110 }
111111
112+ let warningMessage = `\n\nThis CLI is currently in preview and runs an emulator that may not match the \n` ;
113+ warningMessage += `cloud environment exactly. Always deploy and test your app in Azure.\n` ;
114+
115+ // logger.log(`${chalk.yellowBright(warningMessage)}`);
116+ logger . log ( warningMessage ) ;
117+
112118 // note: this string must not change. It is used by the VS Code extension.
113119 // see: https://github.com/Azure/static-web-apps-cli/issues/124
114120 //--------------------------------------------------------------------------------
@@ -119,13 +125,6 @@ function onServerStart(server: https.Server | http.Server, socketConnection: net
119125
120126 logger . log ( logMessage ) ;
121127
122- let warningMessage = `******************************************************************************\n` ;
123- warningMessage += `** This CLI is still in preview and runs an emulator that may not match the **\n` ;
124- warningMessage += `** cloud environment exactly. Always deploy and test your app in Azure. **\n` ;
125- warningMessage += `******************************************************************************\n` ;
126-
127- logger . log ( `${ chalk . yellowBright ( warningMessage ) } ` ) ;
128-
129128 server . on ( "upgrade" , onWsUpgrade ( ) ) ;
130129
131130 registerProcessExit ( ( ) => {
You can’t perform that action at this time.
0 commit comments