Skip to content

Shebang in typescript files leads to not being processed #21455

@zaramzamzam

Description

@zaramzamzam

Adding shebangs to typescript files leads to CodeQL being unable to process those files.

Example:
#!/usr/bin/env bun

Leas to that file not being processed.

This can lead to security errors persisting since this is silently failing to scan a file due to the shebang.
Other files are not impacted and will be scanned in full.

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update Javascript codequestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions