diff --git a/docs/docs/query-execution.md b/docs/docs/query-execution.md
index 893fc5157054b..7fa91e85b801d 100644
--- a/docs/docs/query-execution.md
+++ b/docs/docs/query-execution.md
@@ -12,7 +12,7 @@ title: Query Execution
 
 ## Query execution
 
-Query execution is kicked off by bootstrap by calling [`createQueryRunningActivity()`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/query/index.js#L192). The main files involved in this step are:
+Query execution is kicked off by bootstrap by calling [`createQueryRunningActivity()`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/query/index.ts). The main files involved in this step are:
 
 - [index.js](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/query/index.js)
 - [queue.ts](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/query/queue.ts)