File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ var (
6161)
6262
6363func init () {
64- isVerbose = os .Getenv ("VERBOSE" ) != ""
65- isEnterprise = os .Getenv ("ENTERPRISE" ) != ""
66- testModes = strings .Split (os .Getenv ("TEST_MODES" ), "," )
64+ isVerbose = strings . TrimSpace ( os .Getenv ("VERBOSE" ) ) != ""
65+ isEnterprise = strings . TrimSpace ( os .Getenv ("ENTERPRISE" ) ) != ""
66+ testModes = strings .Split (strings . TrimSpace ( os .Getenv ("TEST_MODES" ) ), "," )
6767 if len (testModes ) == 1 && testModes [0 ] == "" {
6868 testModes = nil
6969 }
70- starterModes = strings .Split (os .Getenv ("STARTER_MODES" ), "," )
70+ starterModes = strings .Split (strings . TrimSpace ( os .Getenv ("STARTER_MODES" ) ), "," )
7171 if len (starterModes ) == 1 && starterModes [0 ] == "" {
7272 starterModes = nil
7373 }
You can’t perform that action at this time.
0 commit comments