mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
202 B
Plaintext
13 lines
202 B
Plaintext
/**
|
|
* @id js/examples/filename
|
|
* @name File with given name
|
|
* @description Finds files called `index.js`
|
|
* @tags file
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from File f
|
|
where f.getBaseName() = "index.js"
|
|
select f
|