Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutorial runner breaks when ts code snippets do not have filename #374

Closed
barriebyron opened this issue Apr 26, 2023 · 0 comments · Fixed by #375
Closed

tutorial runner breaks when ts code snippets do not have filename #374

barriebyron opened this issue Apr 26, 2023 · 0 comments · Fixed by #375
Labels
enhancement New feature or request

Comments

@barriebyron
Copy link
Contributor

these lines broke a tutorial CI:

  ```ts
  const { privateKey: deployerKey, publicKey: deployerAccount } = Local.testAccounts[0];
  const { privateKey: senderKey, publicKey: senderAccount } = Local.testAccounts[1]; 

The tutorial runner will grab all code blocks that have the `ts` annotation and expects that there is a filename associated with it.

Can we think about introducing a way to ignore ts code blocks for better syntax highlighting?
it will be helpful if we could use ts ignore or something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant