File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ private static void KillFunctionHostProcesses()
214214 /// <exception cref="Exception">Thrown when the location of the 'func' executable could not be found.</exception>
215215 private static string GetEnvPathForFunctionTools ( )
216216 {
217- string enviromentPath ;
217+ string environmentPath ;
218218 string exeName ;
219219
220220 // Handle the differences between platforms
@@ -225,11 +225,11 @@ private static string GetEnvPathForFunctionTools()
225225 }
226226 else
227227 {
228- enviromentPath = Environment . GetEnvironmentVariable ( "PATH" ) ;
228+ environmentPath = Environment . GetEnvironmentVariable ( "PATH" ) ;
229229 exeName = "func" ;
230230 }
231231
232- string exePath = enviromentPath . Split ( Path . PathSeparator ) . Select ( x => Path . Combine ( x , exeName ) ) . Where ( x => File . Exists ( x ) ) . FirstOrDefault ( ) ;
232+ string exePath = environmentPath . Split ( Path . PathSeparator ) . Select ( x => Path . Combine ( x , exeName ) ) . Where ( x => File . Exists ( x ) ) . FirstOrDefault ( ) ;
233233 if ( ! string . IsNullOrWhiteSpace ( exePath ) )
234234 {
235235 Console . WriteLine ( $ "Path for Azure Function Core tools: { exePath } ") ;
You can’t perform that action at this time.
0 commit comments