Skip to content

Commit

Permalink
Revert "Remove java from the list of options. Closes #610"
Browse files Browse the repository at this point in the history
This reverts commit e079d88.
  • Loading branch information
ahmelsayed committed Sep 6, 2018
1 parent 76dbce8 commit 4c1ddac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Azure.Functions.Cli/Actions/LocalActions/InitAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private async Task WriteLocalSettingsJson(WorkerRuntime workerRuntime)
? Constants.StorageEmulatorConnectionString
: string.Empty;

localSettingsJsonContent = localSettingsJsonContent.Replace($"{{{Constants.AzureWebJobsStorage}}}", storageConnectionStringValue);
localSettingsJsonContent = localSettingsJsonContent.Replace($"{{{Constants.StorageEmulatorConnectionString}}}", storageConnectionStringValue);
await WriteFiles("local.settings.json", localSettingsJsonContent);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public static class WorkerRuntimeLanguageHelper
{ WorkerRuntime.dotnet, new [] { "c#", "csharp", "f#", "fsharp" } },
{ WorkerRuntime.node, new [] { "js", "javascript" } },
{ WorkerRuntime.python, new [] { "py" } },
{ WorkerRuntime.java, new string[] { } }
};

private static readonly IDictionary<string, WorkerRuntime> normalizeMap = availableWorkersRuntime
Expand Down
1 change: 1 addition & 0 deletions test/Azure.Functions.Cli.Tests/E2E/InitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public InitTests(ITestOutputHelper output) : base(output) { }

[Theory]
[InlineData("node")]
[InlineData("java")]
public Task init_with_worker_runtime(string workerRuntime)
{
return CliTester.Run(new RunConfiguration
Expand Down

0 comments on commit 4c1ddac

Please sign in to comment.