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

module jsdoc is not detect when a file have a hashbang #524

Open
sigmaSd opened this issue Mar 11, 2024 · 1 comment
Open

module jsdoc is not detect when a file have a hashbang #524

sigmaSd opened this issue Mar 11, 2024 · 1 comment

Comments

@sigmaSd
Copy link
Contributor

sigmaSd commented Mar 11, 2024

a.ts

#!/usr/bin/env -S deno run // removing this line makes deno doc work again
/**
Hello
@module
*/
deno doc a.ts # no output

removing the hashbang makes the deno doc command work

@sigmaSd
Copy link
Contributor Author

sigmaSd commented Mar 28, 2024

I think its because the start function doesn't take the hashbang into account

https://docs.rs/deno_ast/1.0.1/src/deno_ast/parsed_source.rs.html#123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant