Skip to content

Commit c0f1377

Browse files
committed
refine codes
1 parent e9b3a70 commit c0f1377

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Resources/ResourceManager/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Resources/ResourceManager/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,6 @@ You can help us improve the accuracy of the result by opening an issue here: htt
498498
<value>Cannot find Bicep. Please add Bicep to your PATH or visit https://github.com/Azure/bicep/releases to install Bicep.</value>
499499
</data>
500500
<data name="InvalidBicepFilePathOrUri" xml:space="preserve">
501-
<value>Invalid Bicep file path or uri.</value>
501+
<value>Invalid Bicep file path or URI.</value>
502502
</data>
503503
</root>

src/Resources/ResourceManager/Utilities/BicepUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static string BuildFile<T>(ScriptExecutor<T> executeScript, string bicepT
6868
}
6969
else
7070
{
71-
throw new AzPSArgumentException(Properties.Resources.InvalidBicepFilePathOrUri, bicepTemplateFilePath);
71+
throw new AzPSArgumentException(Properties.Resources.InvalidBicepFilePathOrUri, "TemplateFile");
7272
}
7373
executeScript($"bicep build '{tempPath}'");
7474
return tempPath.Replace(".bicep", ".json");

0 commit comments

Comments
 (0)