We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a143e7 commit 62ce990Copy full SHA for 62ce990
src/Azure.Functions.Cli/Actions/HostActions/StartHostAction.cs
@@ -153,7 +153,7 @@ private void CheckHostJsonId()
153
var hostJsonContent = FileSystemHelpers.ReadAllTextFromFile(ScriptConstants.HostMetadataFileName);
154
var hostConfig = string.IsNullOrEmpty(hostJsonContent)
155
? new JObject()
156
- : JsonConvert.DeserializeObject<JObject>(FileSystemHelpers.ReadAllTextFromFile(ScriptConstants.HostMetadataFileName));
+ : JsonConvert.DeserializeObject<JObject>(hostJsonContent);
157
if (hostConfig["id"] == null)
158
{
159
ColoredConsole.Out
0 commit comments