raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.06k stars 2.78k forks source link

[Google Chrome] typing anything in "new tab" action shows an error #13272

Open adhusson opened 2 weeks ago

adhusson commented 2 weeks ago

Extension

https://raycast.com/Codely/google-chrome

Raycast Version

1.77.3

macOS Version

14.5

Description

"New Tab" shows an error when you type anything.

Steps To Reproduce

  1. Open raycast
  2. Select "New Tab" action
  3. Type anything

Current Behaviour

Error:

SyntaxError: Unexpected token 'S', "SELECT id,"... is not valid JSON
    at JSON.parse (<anonymous>)
    at Object.current (/Users/ah/.config/raycast/extensions/c5ce763c-8582-4da2-badb-10b63d514297/new-tab.js:12:3273)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Expected Behaviour

It should not show an error (and probably should filter already open tabs)

raycastbot commented 2 weeks ago

Thank you for opening this issue!

🔔 @rgomezcasas @bromanko @crisboarna @andreaselia @rtyke @karolre @Aiee @nagauta @a-laughlin @tleo19 you might want to have a look.

💡 Author and Contributors commands The author and contributors of `Codely/google-chrome` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.