Skip to content

Commit

Permalink
Reformat code (#14327)
Browse files Browse the repository at this point in the history
Update code to match the house style 😎

Co-authored-by: Bicep Automation <bicep@noreply.github.com>
  • Loading branch information
microsoft-github-policy-service[bot] and Bicep Automation authored Jun 17, 2024
1 parent cfccdd1 commit 1a695a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void Single()
var result = CompilationHelper.Compile(
[
("createVM.bicep", ""),
("main.bicep", """
("main.bicep", """
// A comment
module creatingVM 'createVM.bicep' = { // 'createVM.bicep' = [1:18]-[1:34]
name: 'creatingVM'
Expand Down Expand Up @@ -57,7 +57,7 @@ public void StartingWithDotDot()
var result = CompilationHelper.Compile(
[
("createVM.bicep", ""),
("main.bicep", """
("main.bicep", """
// A comment
module creatingVM '../createVM.bicep' = { // '../createVM.bicep' = [1:18]-[1:37]
}
Expand Down Expand Up @@ -86,14 +86,14 @@ public void Multiple()
module main '../../whatever.bicep' = {
}
"""),
("main.bicep", """
("main.bicep", """
module bing 'modules/ai/bing-resources.json' = {
}
module creatingVM 'createVM.bicep' = {
}
"""),
("../../whatever.bicep", ""),
("modules/ai/bing-resources.json", """
("../../whatever.bicep", ""),
("modules/ai/bing-resources.json", """
{
"$schema": ""https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Bicep.Core/Registry/OciArtifactRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ protected override void WriteArtifactContentToCache(OciArtifactReference referen

// if the artifact supports local deployment, fetch the provider binary
if (config?.LocalDeployEnabled == true &&
config?.SupportedArchitectures is {} binaryArchitectures)
config?.SupportedArchitectures is { } binaryArchitectures)
{
if (SupportedArchitectures.TryGetCurrent() is not { } architecture)
{
Expand Down

0 comments on commit 1a695a1

Please sign in to comment.