@@ -28,7 +28,7 @@ public static Dictionary<string, string> GetValidatedOptions()
28
28
}
29
29
30
30
if ( ! Enum . IsDefined ( typeof ( BuildTarget ) , buildTarget ) ) {
31
- Console . WriteLine ( $ " { buildTarget } is not a defined { nameof ( BuildTarget ) } " ) ;
31
+ Console . WriteLine ( buildTarget + " is not a defined " + typeof ( BuildTarget ) . Name ) ;
32
32
EditorApplication . Exit ( 121 ) ;
33
33
}
34
34
@@ -41,10 +41,10 @@ public static Dictionary<string, string> GetValidatedOptions()
41
41
const string defaultCustomBuildName = "TestBuild" ;
42
42
string customBuildName ;
43
43
if ( ! validatedOptions . TryGetValue ( "customBuildName" , out customBuildName ) ) {
44
- Console . WriteLine ( $ "Missing argument -customBuildName, defaulting to { defaultCustomBuildName } ." ) ;
44
+ Console . WriteLine ( "Missing argument -customBuildName, defaulting to" + defaultCustomBuildName ) ;
45
45
validatedOptions . Add ( "customBuildName" , defaultCustomBuildName ) ;
46
46
} else if ( customBuildName == "" ) {
47
- Console . WriteLine ( $ "Invalid argument -customBuildName, defaulting to { defaultCustomBuildName } ." ) ;
47
+ Console . WriteLine ( "Invalid argument -customBuildName, defaulting to" + defaultCustomBuildName ) ;
48
48
validatedOptions . Add ( "customBuildName" , defaultCustomBuildName ) ;
49
49
}
50
50
@@ -57,11 +57,11 @@ static void ParseCommandLineArguments(out Dictionary<string, string> providedArg
57
57
string [ ] args = Environment . GetCommandLineArgs ( ) ;
58
58
59
59
Console . WriteLine (
60
- $ " { EOL } " +
61
- $ "###########################{ EOL } " +
62
- $ "# Parsing settings #{ EOL } " +
63
- $ "###########################{ EOL } " +
64
- $ " { EOL } "
60
+ EOL +
61
+ "###########################" + EOL +
62
+ "# Parsing settings #" + EOL +
63
+ "###########################" + EOL +
64
+ EOL
65
65
) ;
66
66
67
67
// Extract flags with optional values
@@ -78,7 +78,7 @@ static void ParseCommandLineArguments(out Dictionary<string, string> providedArg
78
78
string displayValue = secret ? "*HIDDEN*" : "\" " + value + "\" " ;
79
79
80
80
// Assign
81
- Console . WriteLine ( $ "Found flag \" { flag } \" with value { displayValue } ." ) ;
81
+ Console . WriteLine ( "Found flag \" " + flag + " \" with value " + displayValue ) ;
82
82
providedArguments . Add ( flag , value ) ;
83
83
}
84
84
}
0 commit comments