Skip to content

Commit ffa3daf

Browse files
felickzsubatoi
andauthored
CodeQL - JavaScript - update node version dependency (#50121)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent 4870bae commit ffa3daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The {% data variables.product.prodname_codeql_cli %} includes extractors to crea
153153

154154
### JavaScript and TypeScript
155155

156-
Creating databases for JavaScript requires no additional dependencies, but if the project includes TypeScript files, you must install Node.js 6.x or later. In the command line you can specify `--language={% ifversion codeql-language-identifiers-311 %}javascript-typescript{% else %}javascript{% endif %}` to extract both JavaScript and TypeScript files:
156+
Creating databases for JavaScript requires no additional dependencies, but if the project includes TypeScript files, Node.js 14 or higher must be installed and available on the `PATH` as `node`. In the command line you can specify `--language={% ifversion codeql-language-identifiers-311 %}javascript-typescript{% else %}javascript{% endif %}` to extract both JavaScript and TypeScript files:
157157

158158
```shell
159159
codeql database create --language={% ifversion codeql-language-identifiers-311 %}javascript-typescript{% else %}javascript{% endif %} --source-root <folder-to-extract> <output-folder>/javascript-database

0 commit comments

Comments
 (0)