Skip to content

Commit 9a8ba2e

Browse files
aishwaryabhjviau
andauthored
Setting TFM to net6 for ExtensionsProj (#4244)
* setting tfm to net8 * Update src/Azure.Functions.Cli/StaticResources/ExtensionsProj.csproj.template Co-authored-by: Jacob Viau <[email protected]> * update tests to skip npm install --------- Co-authored-by: Jacob Viau <[email protected]>
1 parent 1874ac4 commit 9a8ba2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Azure.Functions.Cli/StaticResources/ExtensionsProj.csproj.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<WarningsAsErrors></WarningsAsErrors>
55
<DefaultItemExcludes>**</DefaultItemExcludes>
66
</PropertyGroup>

test/Azure.Functions.Cli.Tests/E2E/InitTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Task init_with_worker_runtime(string workerRuntime)
4545

4646
return CliTester.Run(new RunConfiguration
4747
{
48-
Commands = new[] { $"init . --worker-runtime {workerRuntime}" },
48+
Commands = new[] { $"init . --worker-runtime {workerRuntime} --skip-npm-install" },
4949
CheckFiles = files.ToArray(),
5050
OutputContains = new[]
5151
{
@@ -543,7 +543,7 @@ public Task javascript_adds_packagejson()
543543
{
544544
return CliTester.Run(new RunConfiguration
545545
{
546-
Commands = new[] { "init . --worker-runtime node" },
546+
Commands = new[] { "init . --worker-runtime node --skip-npm-install" },
547547
CheckFiles = new FileResult[]
548548
{
549549
new FileResult

0 commit comments

Comments
 (0)