bendews / apw

A CLI for Apple Passwords (also known as iCloud Keychain)
GNU General Public License v3.0
40 stars 3 forks source link

Fix typescript compilation issues #7

Open viktorshamal opened 1 month ago

viktorshamal commented 1 month ago

Per #6 apw isn't able to be installed from homebrew due to Typescript error. I replaced the offending lines which catch errors with the default example from the Cliffy documentation. I don't have experience with Deno or Cliffy, but this way doesn't look like it should cause any more issues. I'm at least able to transpile and run the program now.

I've also included a build and run task in the deno.json.

Thanks for making a great utility! It works splendidly with the Raycast extension as well 😊

bendews commented 1 month ago

Thanks so much @viktorshamal! Great to hear it's working good for you (apart from this pesky bug!). I do have a requirement that we should output valid JSON as a response when catching errors at the parent level just in case it is being called by a program that is expecting JSON output.

I've noticed that the commits appear to have been created by a different user and they are unverified. Any chance you could update your PR or raise a new one with verified commits? Thanks!