Skip to content

Commit

Permalink
Setting TFM to net6 for ExtensionsProj (#4244)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
aishwaryabh and jviau authored Feb 5, 2025
1 parent 1874ac4 commit 9a8ba2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<WarningsAsErrors></WarningsAsErrors>
<DefaultItemExcludes>**</DefaultItemExcludes>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions test/Azure.Functions.Cli.Tests/E2E/InitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Task init_with_worker_runtime(string workerRuntime)

return CliTester.Run(new RunConfiguration
{
Commands = new[] { $"init . --worker-runtime {workerRuntime}" },
Commands = new[] { $"init . --worker-runtime {workerRuntime} --skip-npm-install" },
CheckFiles = files.ToArray(),
OutputContains = new[]
{
Expand Down Expand Up @@ -543,7 +543,7 @@ public Task javascript_adds_packagejson()
{
return CliTester.Run(new RunConfiguration
{
Commands = new[] { "init . --worker-runtime node" },
Commands = new[] { "init . --worker-runtime node --skip-npm-install" },
CheckFiles = new FileResult[]
{
new FileResult
Expand Down

0 comments on commit 9a8ba2e

Please sign in to comment.