jcsalterego / Contrails

Contrails is an ATProto Feed Generator backed by Cloudflare Workers and Bluesky Search.
Other
80 stars 93 forks source link

Error unterminated string #24

Closed samuk closed 11 months ago

samuk commented 11 months ago

unterminated-string

When I try to deploy I get:

⛅️ wrangler 3.20.0

✘ [ERROR] Unterminated string

/github/workspace/wrangler.toml:1:31:
  1 │ name = "worker-small-night-fd13

Any idea why?

jcsalterego commented 11 months ago

Are you missing an ending quote in your file?

samuk commented 11 months ago

variable

This is how the variable looks in the Github WebUI.

Should I be adding "quotes" to that?

jcsalterego commented 11 months ago

Ah, I think the problem is there's a newline/enter in that variable. Can you try removing the trailing newline from the CLOUDFLARE_WORKER_NAME Value field?

So if you "Select All" in that field, you should see: worker-small-night-fd13 instead of

worker-small-night-fd13
samuk commented 11 months ago

Thanks that has indeed resolved that. Apologies I thought I had tried deleting any extra spaces/breaks, but clearly not.

I do now run into this issue, but I'll investigate that unless you have any insights into what I've done wrong? missingURL

jcsalterego commented 11 months ago

@samuk Based on your action https://github.com/samuk/bsky_robot_list/actions/runs/7209257611/job/19639831726 it looks like there's another newline in your account ID perhaps? I'd run through your variables and make sure none of them have the same newline issue.