Skip to content

cli assumes hostname is installed #327

@sirredbeard

Description

@sirredbeard

Steps to reproduce:

  1. Install Fedora 42
  2. Install Node with sudo dnf install nodejs
  3. Install cli with sudo npm install -g @herodevs/cli@beta
  4. Go to project folder, e.g. git clone https://github.com/dotnet/runtime --depth 1 --branch v6.0.3 && cd runtime
  5. Run hd scan eol

Expected results:

No script errors.

Actual results:

hayden@WDK2023:~/runtime$ hd scan eol
/bin/sh: line 1: hostname: command not found
⠋ Generating SBOM*** Found system packages without a version ***

Workaround:

sudo dnf install hostname -y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions