Skip to content

fix vulnerability using dotnet command if nuget not exist #308

@justminime

Description

@justminime

Is your feature request related to a problem? Please describe.
I'm using frogbot inside a docker that does not have nuget but uses dotnet commands.
when I run it I get:

Cloning repository with these details:
Clone url: [https://gitlab-ci-token:[MASKED]@gitlab.xxxx.net/develop/services/devops-xxxx.git](https://gitlab-ci-token:%5BMASKED%5D@gitlab.xxxx.net/develop/services/devops-xxxx.git) remote name: origin, branch: refs/heads/develop
 -----------------------------------------------------------------
Start fixing Microsoft.NETCore.App with 2.0.3
Creating branch: frogbot-Microsoft.NETCore.App-1da05d022e80e8fb1bff4c48ea5bf8fe
[Warn] failed while fixing Microsoft.NETCore.App with version: 2.0.3 with error: 
nuget  microsoft.netcore.app2.0.3 command failed: exec: "nuget": executable file not found in $PATH
[Info] Running git checkout to base branch: develop

Describe the solution you'd like to see
I would like it to use dotnet command instead of nuget

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions