thoughtworks / talisman

Using a pre-commit hook, Talisman validates the outgoing changeset for things that look suspicious — such as tokens, passwords, and private keys.
https://thoughtworks.github.io/talisman/
MIT License
1.9k stars 243 forks source link

#403 Skip upx compression for all mac binaries #406

Closed svishwanath-tw closed 1 year ago

dcRUSTy commented 1 year ago

on mac i think it is giving error line 9: syntax error in conditional expression not sure why

devansh-sharma-tw commented 1 year ago

@svishwanath-tw @dcRUSTy Using [[ $binary == *"darwin"* || $binary == *"arm"* ]] (line 9) as the condition seems to be working fine on Mac. Can this be used instead ?

jmatias commented 1 year ago

Fix is already in main.