Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

equality check inside if statement #2

@brgkcosic

Description

@brgkcosic

hi, not sure if this is a problem, but I had to change an equality sign to single equal in a check (same as the rest of them) inside the pre-configured husky.sh file that comes with the script (I am not a shell programmer):

if [ $exitCode == 127 ]; then
  echo "husky - command not found in PATH=$PATH"
fi

rest of the script uses a single equality sign so I had to fix it after running the script (I am using MacOS, M1 Pro machine)

EDIT:
I am sorry - this happens on a Linux machine, on MacOS for some reason it works without problem; sorry for the confusion

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