Skip to content

Commit

Permalink
Fixed comparision operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
v-umangsr authored and v-umangsr committed Oct 16, 2024
1 parent fc04d46 commit fcc48bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ private async Task<IDictionary<string, string>> ValidateFunctionAppPublish(Site
workerRuntimeStr = functionApp.FunctionAppConfig.runtime.name;
}

if (workerRuntime != WorkerRuntime.None)
if (workerRuntime == WorkerRuntime.None)
{
throw new CliException($"Worker runtime is not set. Please set a valid runtime using {Constants.FunctionsWorkerRuntime}");
}
Expand Down

0 comments on commit fcc48bb

Please sign in to comment.