File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . IO ;
33
4- namespace Cake . AppVeyor . Tests
5- {
6- public static class Keys
7- {
8- const string YOUR_APPVEYOR_API_TOKEN = "{APPVEYOR_APITOKEN}" ;
9-
10- static string appVeyorApiToken ;
11-
4+ namespace Cake . AppVeyor . Tests
5+ {
6+ public static class Keys
7+ {
8+ const string YOUR_APPVEYOR_API_TOKEN = "{APPVEYOR_APITOKEN}" ;
9+
10+ static string appVeyorApiToken ;
11+
1212 public static string AppVeyorApiToken {
1313 get
1414 {
@@ -21,7 +21,7 @@ public static string AppVeyorApiToken {
2121
2222 // Next check for an environment variable
2323 if ( string . IsNullOrEmpty ( appVeyorApiToken ) )
24- appVeyorApiToken = Environment . GetEnvironmentVariable ( "appveyor_api_token " ) ;
24+ appVeyorApiToken = Environment . GetEnvironmentVariable ( "test_appveyor_api_token " ) ;
2525
2626 // Finally use the const value
2727 if ( string . IsNullOrEmpty ( appVeyorApiToken ) )
@@ -30,7 +30,7 @@ public static string AppVeyorApiToken {
3030
3131 return appVeyorApiToken ;
3232 }
33- }
34- }
35- }
36-
33+ }
34+ }
35+ }
36+
You can’t perform that action at this time.
0 commit comments