Skip to content

Commit

Permalink
code format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Sep 16, 2020
1 parent 20cd859 commit 1bd0731
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/schemas/v2/resourceDefinition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"resourceType": {
"type": [ "string", "null" ],
"enum": [ "Default", "Drawable", "Mipmap", "AllSquareTiles", "SquareTile", "SmallTile", "WideTile", "SplashScreen" ],
"description": "This is used by Android and UWP. This will be Drawable by default on Android. On UWP this may be AllSquareTiles, WideTile, or SplashScreen depending on the resource size. If you specify an explicit SmallTile resource only the other square tile resources will be generated."
"description": "This is used by Android and UWP. This will be Drawable by default on Android. On UWP this will by default generate a standard image asset, or you can specify other app resource types."
},
"watermark": {
"$ref": "#/definitions/WatermarkConfiguration"
Expand Down Expand Up @@ -134,7 +134,7 @@
"resourceType": {
"type": [ "string", "null" ],
"enum": [ "Default", "Drawable", "Mipmap", "AllSquareTiles", "SquareTile", "SmallTile", "WideTile", "SplashScreen" ],
"description": "This is used by Android and UWP. This will be Drawable by default on Android. On UWP this may be AllSquareTiles, WideTile, or SplashScreen depending on the resource size. If you specify an explicit SmallTile resource only the other square tile resources will be generated."
"description": "This is used by Android and UWP. This will be Drawable by default on Android. On UWP this will by default generate a standard image asset, or you can specify other app resource types."
},
"watermark": {
"$ref": "#/definitions/WatermarkConfiguration",
Expand Down Expand Up @@ -213,7 +213,7 @@
"resourceType": {
"type": [ "string", "null" ],
"enum": [ "Default", "Drawable", "Mipmap", "AllSquareTiles", "SquareTile", "SmallTile", "WideTile", "SplashScreen" ],
"description": "This is used by Android and UWP. This will be Drawable by default on Android. On UWP this may be AllSquareTiles, WideTile, or SplashScreen depending on the resource size. If you specify an explicit SmallTile resource only the other square tile resources will be generated."
"description": "This is used by Android and UWP. This will be Drawable by default on Android. On UWP this will by default generate a standard image asset, or you can specify other app resource types."
},
"watermark": {
"$ref": "#/definitions/WatermarkConfiguration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal class SecretsClassGenerator : GeneratorBase<ITaskItem>
// ------------------------------------------------------------------------------
";

private const string SafePlaceholder = "*****";
//private const string SafePlaceholder = "*****";

private const string TabSpace = " ";

Expand Down Expand Up @@ -63,7 +63,7 @@ protected override void ExecuteInternal()
var replacement = string.Empty;
var safeReplacement = string.Empty;
var secretsConfig = Build.GetSecretsConfig();
bool saveConfig = secretsConfig is null;
var saveConfig = secretsConfig is null;
if(saveConfig)
{
secretsConfig = new SecretsConfig()
Expand Down Expand Up @@ -195,7 +195,7 @@ internal ValueConfig GenerateValueConfig(KeyValuePair<string, JToken> secret, Se
{
var value = secret.Value.ToString();
var valueArray = Regex.Split(value, $"(?<!\\\\){config.Delimiter}").Select(x => x.Replace($"\\{config.Delimiter}", config.Delimiter));
bool isArray = false;
var isArray = false;
if (valueArray.Count() > 1)
{
value = valueArray.FirstOrDefault();
Expand Down

0 comments on commit 1bd0731

Please sign in to comment.