homebrew-tools icon indicating copy to clipboard operation
homebrew-tools copied to clipboard

Messed up Formula in this repo contains XML rather than Ruby code

Open frou opened this issue 2 years ago • 0 comments

Namely https://github.com/clojure/homebrew-tools/blob/master/Formula/clojure%401.11.1.1353.rb

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>YCFAJVV63YGXJH52</RequestId><HostId>Da6g/lAPCqML1fgo37nOkCAjn5H+FJAfn1yPnlb+8zQAkgVGunkep+UkG+/aqGci9y0uW+9dmZQ=</HostId></Error>

The existence of that file stopped me from running a brew command unrelated to Clojure or this Tap.

$ brew uses --eval-all mlton
Error: Failed to import: /usr/local/Homebrew/Library/Taps/clojure/homebrew-tools/Formula/[email protected]
[email protected]: /usr/local/Homebrew/Library/Taps/clojure/homebrew-tools/Formula/[email protected]:1: syntax error, unexpected '<'
<?xml version="1.0" encoding="...
^

frou avatar Nov 10 '23 14:11 frou