Skip to content

homebrew module regression #1815

@pmarschik

Description

@pmarschik

Commit f4ca9eb introduced a regression in the homebrew module where it won't load.

Originally the bail-out code was:

if [[ "$OSTYPE" != (darwin|linux)* ]]; then
  return 1
fi

The regression is:

if ! is-darwin || ! is-linux; then
  return 1
fi

Fix:

if ! is-darwin && ! is-linux; then
  return 1
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions