Skip to content

Commit

Permalink
refine codes
Browse files Browse the repository at this point in the history
  • Loading branch information
BethanyZhou committed Feb 18, 2021
1 parent e9b3a70 commit ffa5e13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Resources/ResourceManager/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,6 @@ You can help us improve the accuracy of the result by opening an issue here: htt
<value>Cannot find Bicep. Please add Bicep to your PATH or visit https://github.com/Azure/bicep/releases to install Bicep.</value>
</data>
<data name="InvalidBicepFilePathOrUri" xml:space="preserve">
<value>Invalid Bicep file path or uri.</value>
<value>Invalid Bicep file path or URI.</value>
</data>
</root>
2 changes: 1 addition & 1 deletion src/Resources/ResourceManager/Utilities/BicepUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static string BuildFile<T>(ScriptExecutor<T> executeScript, string bicepT
}
else
{
throw new AzPSArgumentException(Properties.Resources.InvalidBicepFilePathOrUri, bicepTemplateFilePath);
throw new AzPSArgumentException(Properties.Resources.InvalidBicepFilePathOrUri, nameof(bicepTemplateFilePath));
}
executeScript($"bicep build '{tempPath}'");
return tempPath.Replace(".bicep", ".json");
Expand Down

0 comments on commit ffa5e13

Please sign in to comment.