Skip to content

Commit

Permalink
Fixing nuget vulnerability (#2274)
Browse files Browse the repository at this point in the history
* Fixing nuget vulnerability

* fixing nuget.config
  • Loading branch information
eddynaka committed Jan 28, 2021
1 parent d7afbe6 commit 2dd2854
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 22 deletions.
26 changes: 8 additions & 18 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<activePackageSource>
<!--<add key="SARIF local build" value="..\bld\bin\nuget" />-->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</activePackageSource>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<bindingRedirects>
<add key="skip" value="True" />
</bindingRedirects>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
  <bindingRedirects>
    <add key="skip" value="True" />
  </bindingRedirects>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>
12 changes: 8 additions & 4 deletions src/NuGet.Config
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>

0 comments on commit 2dd2854

Please sign in to comment.